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

Field doesn't appear in 'modified' attribute after calling 'form.change(<field>, <value>)' #986

Open
Lebed-kun opened this issue Apr 26, 2022 · 0 comments

Comments

@Lebed-kun
Copy link

form is an object of type FormApi. After I call form.change('field-a', <value>) for example, I expect to see 'field-a' in 'modified' field of 'form' object. But that doesn't happen, and only fields that have corresponding input elements (ex. if I have some <Select name="field-a" {...} /> somewhere inside <Form /> element) are tracked. Is there any way to track changes of fields that doesn't have matching by name UI elements with final-form API?

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