S
SolidJS5mo ago
drocsid

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
3 Replies
lxsmnsyc
lxsmnsyc5mo ago
it works for me? or I might just be misunderstanding what I should expect
drocsid
drocsid5mo 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
lxsmnsyc
lxsmnsyc5mo 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