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

Component to subscribe to specific field values

Open
#297 2 comments 9 reactions 0 assignees View on GitHub
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

To subscribe to more than one value I use the following pattern:

```

{({ input: fieldName1Input }) => (

{({ input: fieldName2Input }) => (

)}

)}

```

Obviously this is tedious. I would like to use a component similar to this instead:

```

{({ values }) => (

)}

```

Is there anything similar built in and I'm just unable to find it or is it a good idea?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Field component and subscription API, then compare them with the requested FieldValuesSpy usage. Done means the project has a supported way to subscribe to the listed field values and the behavior is covered by the relevant tests or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.