JSON-key on empty fields
chmich opened this issue · comments
Are you submitting a bug report or a feature request?
Feature-Request
What is the current behavior?
When a form is submitted and a string-input has no content, there is no json-key for this field inside the JSON
What is the expected behavior?
a posted question with no content is also a answer.
json-key should only be removed if the input is removed (not: invisible).
So, on json-keys you could see which questions are posted
Sandbox Link
In our case: We have a dynamically form that can change from time to time. We have to be able to see which questions are posted and which are answered.
We can realize that based on the existing feature, but it would be really easier with this above mentioned feature.
What's your environment?
Rails, React, Redux
Many Thanks for this really helpfully library
Please see final-form/react-final-form#130