kobalte icon indicating copy to clipboard operation
kobalte copied to clipboard

`TextField` value is not synced

Open daalfox opened this issue 1 year ago • 0 comments

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):

  • OS: [e.g. Arch linux]
  • Browser [e.g. firefox]
  • Version [e.g. 126.0]

daalfox avatar May 15 '24 18:05 daalfox