Closed rob-forager closed 1 year ago
Confimed - looks like Solid JS 1.6.0 is the cause here as it works fine until upgrading to that version.
I'll chat to the community about what could be happening here.
Fixed in Solid JS 1.6.1 - please update to that version of Solid.
When using the latest version of solid-select (0.13.0) and the latest version of Solid (1.6.0) + Vite (3.1.8), I get this stack trace when clicking on the component:
Code:
I can stub that out like this (
optionToValue
is also needed):However at that point the component stops working, clicking on different select items doesn't change the value. It still fires the
onChange
event, but it doesn't update.