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

Error when using value and custom RadioGroup component by AntD

Open
#597 1 comment 0 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**?

Bug

### What is the current behavior?
I get an error when using custom Radio/Group component (from AntD library)
![image](https://user-images.githubusercontent.com/2313018/63343660-cf0b4b00-c34e-11e9-9430-76dc04ab466d.png)

### What is the expected behavior?

I don't expect any warning or error.

### Sandbox Link

https://codesandbox.io/embed/react-final-form-custom-radio-nedfs

### What's your environment?

I have encountered it with a version 3.7.0 where the `input` prop didn't yet contain the `type` attribute and had to be inserted manually onto the input (and therefore to avoid repetition, one would simply put the type on input, but not the Field), but the problem is same with latest 6.3.0 as in the sandbox provided.

### Other information

https://github.com/final-form/react-final-form/issues/112 https://github.com/final-form/react-final-form/issues/392 https://github.com/final-form/react-final-form/issues/553

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.