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....
Sachin Hooda's user avatar
  • 1,510
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 ...
Matthew Souther's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible