-
-
Notifications
You must be signed in to change notification settings - Fork 274
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 should reset when defaultValue property changes #1420
Comments
Seems that the issue is caused when we modify input and set |
Did a little benchmark in other tools on how they handle this. The benchmark was:
retool, appsmith, openblocks and dynaboard all behave the same. When the default value changes, the input value is reset to the default value. I'm fine with adopting the same behavior |
Duplicates
Latest version
Summary 💡
Use case: I want to update some values of a datagrid through a form. So I expect the values of selected row should prefill in the form. The ideal component inside a form for this function is TextField, but I can't bind a value to it. It seems to only take input.
Default value property also doesn't serve the purpose.
App link
Examples 🌈
No response
Motivation 🔦
No response
The text was updated successfully, but these errors were encountered: