1
vote
How to handle item selection from a list that behaves like a combobox in LWC?
There are two problems with your code i see.
LWC does not support getElementById. lwc class properties are reactive meaning when you update their value the DOM will re-render and shows updated values....
1
vote
How can I test that my component, which implements the standard modal components, is working properly?
@TemporaryFix's solution works, but following the docs for lightning-modal, we should use a slightly different approach. Use these methods on the modal.js stub for selecting DOM elements inside the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
javascript × 5556visualforce × 1623
lightning-web-components × 1305
apex × 1133
lightning-aura-components × 921
lightning × 549
custom-button × 330
jquery × 287
html × 263
marketing-cloud × 208
aura × 152
javascript-remoting × 137
css × 130
community × 106
controller × 101
javascript-controller × 96
json × 84
static-resources × 83
lightning-experience × 80
button × 78
ssjs × 76
locker-service × 76
ampscript × 75
lightning-datatable × 73
visualforce-component × 70