kobaltedev / kobalte

A UI toolkit for building accessible web apps and design systems with SolidJS.
https://kobalte.dev
MIT License
1.2k stars 61 forks source link

`TextField` value is not synced #413

Open daalfox opened 3 months ago

daalfox commented 3 months ago

Describe the bug text field becomes out of sync when value is set to undefined. When setValue(undefined) is used, the first character stays inside the text input.

To Reproduce Use the exact code from 'controlled value' section of the docs. then do setState(undefined) on click of some button.

Expected behavior Nothing should stay inside the text field. I checked the signal and it's undefined.

Desktop (please complete the following information):