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
bug report
We have an array of fruits. Initial values are: ['', 'apple']
['', 'apple']
Fruit #2
Fruit #1 is not pristine
Fruit #1
Fruit #1 field should be pristine since it equals === the initial value
===
The text was updated successfully, but these errors were encountered:
Gorgeous sandbox! Nice styling!
This is related to how Final Form deletes values when the field is empty.
If you provide a parse={v => v} prop to Field, it preserves the '' value and it works as expected. See below:
parse={v => v}
Field
''
I think this is not really a bug.
Sorry, something went wrong.
No branches or pull requests
Are you submitting a bug report or a feature request?
bug report
What is the current behavior?
We have an array of fruits.
Initial values are:
['', 'apple']
Steps to reproduce:
Fruit #2
field (enter empty value '')Fruit #1
is not pristineWhat is the expected behavior?
Fruit #1
field should be pristine since it equals===
the initial valueSandbox Link
What's your environment?
Other information
The text was updated successfully, but these errors were encountered: