We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature Request
Currently onChange handler on FormSpy component gets invoked for changes in any form field
<FormSpy subscription={{ values: true }} onChange={props => { console.log('Form validity changed to', props.valid) }} />
We can have a new configuration or prop to form spy which will help us track changes to only specific form fields.
<FormSpy subscription={{ values: ["fieldA", "fieldB"] }} onChange={props => { console.log('Form validity changed to', props.valid) }} />
"react-final-form": "6.5.9" "react-final-form-arrays": "3.1.4" "next": "12.1.6" "react": "17.0.0" "eslint": "8.15.0", "@typescript-eslint/eslint-plugin": "5.23.0"
NA
The text was updated successfully, but these errors were encountered:
What would the use-case be where a simple if in the onChange would not suffice?
Sorry, something went wrong.
No branches or pull requests
Are you submitting a bug report or a feature request?
Feature Request
What is the current behavior?
Currently onChange handler on FormSpy component gets invoked for changes in any form field
What is the expected behavior?
We can have a new configuration or prop to form spy which will help us track changes to only specific form fields.
Sandbox Link
What's your environment?
Other information
NA
The text was updated successfully, but these errors were encountered: