sl-select: setting the value doesn't fire the change event #2106
-
I have a change event on sl-select that, depending upon the value chosen, displays various controls: toggle for boolean values, input for text, numeric for numbers, etc. So, to make testing a little more efficient, I'm setting the value of the sl-select on load, but the change event doesn't fire. Am I doing something wrong, or is this a feature? |
Beta Was this translation helpful? Give feedback.
Answered by
KonnorRogers
Jul 12, 2024
Replies: 1 comment 2 replies
-
This is by design. Programmatic changes don’t trigger input/change events, just like the platform :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@mapsedge