enhancement: checkbox and radio components with 'disabled:cursor-not-allowed'#1212
enhancement: checkbox and radio components with 'disabled:cursor-not-allowed'#1212abdulbasithqb wants to merge 4 commits intothemesberg:mainfrom
Conversation
enhancement:checkbox and radio components
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1212 +/- ##
==========================================
- Coverage 99.54% 97.38% -2.17%
==========================================
Files 163 216 +53
Lines 6621 9217 +2596
Branches 401 538 +137
==========================================
+ Hits 6591 8976 +2385
- Misses 30 241 +211 ☔ View full report in Codecov by Sentry. |
|
Personally, I agree with this decision but it's not in the main library (https://flowbite.com/docs/forms/checkbox/#disabled-state) @zoltanszogyenyi Is this something we'd be interested in universally for Flowbite? |
|
@abdulbasithqb it is important that instead of 'merge' the main with your branch, you rebase it, so it would not break the git history. |
Hey, new PR raised PR #1255 |
Enhance Checkbox and Radio Styling
Changes:
Improve styling for checkbox and radio components by adding a 'disabled' look with a non-interactive cursor.
Why:
Enhances user experience by clearly indicating the disabled state.
Prevents unintended interactions with disabled checkboxes and radio buttons.
Screenshots:
Screen.Recording.2024-01-03.at.1.09.45.PM.mov