RocketChat / fuselage

React port of Rocket.Chat's design system, Fuselage
https://rocketchat.github.io/fuselage/
MIT License
114 stars 160 forks source link

fix: issue of unable to select and unselect the items #1465

Open devanshkansagra opened 1 month ago

devanshkansagra commented 1 month ago

Proposed changes (including videos or screenshots)

This is a basic fix. In this fix I have added React's useState hook which handles the check and uncheck state of the item, and also to maintain the consistency I have also added check all feature which checks all the items in the checkbox

Screencast from 16-10-24 08:07:47 PM IST.webm

Issue(s)

Closes : #1418

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 31458c1fe86fd8ebcaf56a407c48ec95e8c0bceb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR