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

Feature: provide `change` helper to `FieldRenderProps`

Open
#691 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.4k
Forks
497
PR merge metrics
No merged PRs in 30d

Description

Some input component has different signature of standard react input, so the provided `input` of `FieldRenderProps` cannot help hook them in.

By now I have to use the form level `change` in `FormRenderProps`, which is too global and I have to give the name of the field.

I found such a field level `change` is in the `FieldState` which can be given from calling `useFieldState`. I think it could be helpful to provide such a helper in the `FieldRenderProps` as well.

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.