Skip to content

sl-select: setting the value doesn't fire the change event #2106

Answered by KonnorRogers
mapsedge asked this question in Help
Discussion options

You must be logged in to vote

@mapsedge

select.value = <value>
select.dispatchEvent(new Event("sl-change", {
  bubbles: true
}))

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mapsedge
Comment options

@KonnorRogers
Comment options

Answer selected by mapsedge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants