Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextField value is not synced #413

Open
daalfox opened this issue May 15, 2024 · 0 comments
Open

TextField value is not synced #413

daalfox opened this issue May 15, 2024 · 0 comments

Comments

@daalfox
Copy link

daalfox commented May 15, 2024

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant