Radio, Check Box, Switch: Unification and improved alignaments#9472
Radio, Check Box, Switch: Unification and improved alignaments#9472henon merged 25 commits intoMudBlazor:devfrom
Conversation
|
Fixing all related unit tests... btw. I took the liverty to add a RTL switch in the Tests.Viewer project :) |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #9472 +/- ##
==========================================
+ Coverage 91.05% 91.07% +0.01%
==========================================
Files 410 409 -1
Lines 12457 12446 -11
Branches 2428 2422 -6
==========================================
- Hits 11343 11335 -8
Misses 566 566
+ Partials 548 545 -3 ☔ View full report in Codecov by Sentry. |
|
There, ready for review! 💪 |
danielchalmers
left a comment
There was a problem hiding this comment.
Looking good at first glance, thanks for taking this on! We should be able to do deeper reviews when v8 starts rolling, next month most likely.
|
This should be able to get a deeper review soon with v8 on its way |
danielchalmers
left a comment
There was a problem hiding this comment.
Briefly looked over this again, really like the refactor. Just a small note on the state method names
GetDisabled => GetDisabledState GetReadOnly => GetReadOnlyState
|
@ralvarezing We need a description for the v8 Migration Guide at #9953 for this PR please |
|
@henon @ScarletKuro I don't know how are you organized to write the migration guide, so I'll leave a description here and tell me in any case.
|
|
@ralvarezing Thanks, great work! Disabled Switch: Label is also disabled. Disabled Checkbox: |
|
@ralvarezing the description in the migration guide is not a summary of what your PR does but rather what exactly is the breaking change and what they have to change in their code to migrate. For example: Renamed property from "abc" to "xyz" or removed "abc" use "xyz" instead, or similar. |
Yeah!, my bad for doing this and don't read first xD
|
|
Tests that still reference the "Placement" property:
From the |
|
Talked to @danielchalmers, he said it was intentionally changed to |


Description
Unification of the MudBooleanInput components: Checkbox, Radio, Switch.
Improvement of Margins and alignment.
Added Placement for Checkbox and Switch.
fixes #9009
LTR

RTL

Switch and Checkbox with Placement


How Has This Been Tested?
Type of Changes
Checklist
dev).