solidjs / solid

A declarative, efficient, and flexible JavaScript library for building user interfaces.
https://solidjs.com
MIT License
32.13k stars 916 forks source link

Cannot properly bind value to Select when option value comes from a property of an object #2209

Closed westbrma closed 2 months ago

westbrma commented 2 months ago

Describe the bug

when using a select element and assigning value of options like the select will not have the correct value even if the select value is the same as the option value

Your Example Website or App

https://playground.solidjs.com/anonymous/5a3f481e-4feb-40f7-b616-7f6af1cf71d6

Steps to Reproduce the Bug or Issue

  1. create a