final-form / final-form/react-final-form
<Field> initialValue / defaultValue prop
Open
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
### Are you submitting a **bug report** or a **feature request**?
**feature request**
### What is the current behavior?
A `` is required to be provided `initialValues` to set _default values_ for fields.
### What is the expected behavior?
`` can accept a prop `initialValue` or `defaultValue` that is registered with the parent ``'s initial values.
This would be oober convenient in many cases where fields are dynamically generated or conditionally rendered in the ``.
I'm happy to work up a PR if you're accept/review the effort @erikras
Contributor guide
Assessment
This issue has not been assessed yet.