-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
Description
I need to use code to control whether the checkbox is selected or not, I can't do it now.
Problem Statement
Now I have a select all checkbox. I need to judge whether the user has selected all items, and then I want to control the checkbox to select or not with code. I set the defaultIsChecked prop of the checkbox by use state hook, but it didn't refresh in view. I'm not sure if I wrote it wrong, if I did, please tell me how to make it.
Proposed Solution or API
I have no idea
Alternatives
No response
Additional Information
No response