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

Radio buttons not functioning correctly inside a Wizard.Page

Open
#847 3 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

See this small sandbox example:
https://codesandbox.io/s/cold-wave-jon76?file=/index.js

The basic radio button "stooge" example works as you'd expect, but the three radio buttons generated using an object liist and .map call do not graphically show they have been selected - although they still save their data to the FormValues

Changing the Field's value from `value={option.value}` to `value="some static value"` fixes the problem, but obviously breaks the purposes of using a generated field.

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.