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

Values not being set after settting checkboxes to 'checked' programatically/

Open
#393 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

### bug report

### What is the current behavior?

I have a table with main checkbox on the header and other checkboxes on the table. When I click the header checkbox all other checkboxes are being checked, but on validate returns only the main checkbox value and it does not catch the other checkboxes values.

### What is the expected behavior?

When I click the main checkbox, I want all of the values from the other checkboxes to be set, so I could validate them.

### What's your environment?

🏁 React Final Form version: 4.0.2

### Other information

When I click the other checkboxes individually it works fine, it only breaks when I click the main checkbox.

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.