final-form / final-form/react-final-form

Passing additional data into <Field /> which will be accessible in validate

Open
#669 5 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.