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

Ability to pass other properties into the form other than initialValues

Open
#539 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

feature request

Is it possible to allow a way to inject other properties into the form. Right now there is only initialValues. For example, in my use case I want to pass in a callback that a button within the form will be mapped to. The only way I can do that is if I hack that as part of the initialValue property. Now there is no separation between what is the initial value of the form values vs other attributes such as actions.

Thanks,
Derek

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.