I’m trying to use an
ion-checkbox as a web component using just vanilla js. However, the checkbox does not trigger the
Unfortunately, even if it responded to onchange, the underlying elements can’t report the actual “checked” property. The input in the shadow root does not toggle the checked property and the hidden input that is accessible to JS can’t hold a “checked” property.
- How does vanilla JS know you’ve changed an
- How does vanilla JS know whether it’s checked or not?
Here’s a related issue : Ion-input web-component validity issues