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

Array values for third party checkbox component

Open
#252 3 comments 3 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**?

I think this is bug

### What is the current behavior?

If create adapter component for Field with type="checkbox" and set value attribute. When checking the box will set the value to true, and unchecking the checkbox will set value to false.

### What is the expected behavior?

Checking the box will add the value to the array, and unchecking the checkbox will remove the value from the array.

### Sandbox Link

https://codesandbox.io/s/mmjkqqwy0y

### What's your environment?

react-final-form 3.4.0
react 16.3.2

### Other information

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.