S
SolidJSdrocsid

For some reason <select> doesn't work correctly

https://playground.solidjs.com/anonymous/eedf65f3-e52b-49b0-a8b2-513465a75666 Here it is. When changing the select the value changes but there's no visible change of it's option
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
L
lxsmnsyc41d ago
it works for me? or I might just be misunderstanding what I should expect
D
drocsid40d ago
There are 2 selects. If I try to change any of the 2 to point to the value of father then yes the updated value gets logged in the console buth if you see in the select it seems like brother is still selected
L
lxsmnsyc40d ago
I just realized that maybe the onChange is the issue. It's static, so you can't rely on the tuple syntax
Want results from more Discord servers?
Add your server
More Posts