Open ackvf opened 5 years ago
This looks related to #130
Any updates here?
Would it make sense to merge the actual final-form values to form.elements so that the empty (default) fields are persisted?
It also prevents validation, the validation function passed to useField
is not executed
still happening on "final-form": "4.20.7", "react-final-form": "6.5.9",
Are you submitting a bug report or a feature request?
Maybe it is a feature, but I consider it a bug.
What is the current behavior?
Empty form values and pre-selected options are not included in the submit result. Related issue https://github.com/final-form/react-final-form/issues/327
What is the expected behavior?
Expected is that every named field has a value in the result.
Sandbox Link
Upon opening the sandbox, press "SUBMIT" without entering anything. https://codesandbox.io/s/z66380078l
What's your environment?
Other information