final-form / final-form/react-final-form
Passing additional data into <Field /> which will be accessible in validate
Open
- Dominant language
- JavaScript
- Stars
- 7.4k
- Forks
- 497
- PR merge metrics
- No merged PRs in 30d
Description
I need to pass additional object myCustomData which I can access in meta.data ```{
return meta.data.myCustomData.isOk ? null : 'Error'
}} />```
Passing additional data into Field which I can access in 'validate ' function would be very helpful
_Originally posted by @lock in https://github.com/final-form/react-final-form/issues/355#issuecomment-544117342_
Contributor guide
Assessment
This issue has not been assessed yet.