Closed danielchalmers closed 3 months ago
Also suggested on main repo: https://github.com/MudBlazor/MudBlazor/issues/7046
An alternative to RadioGroup that's styled as buttons:
RadioGroup
<RadioButtonGroup @bind-SelectedOption="MyNullableBool"> <ToggleButton Option="false" Color="Color.Primary">No</ToggleButton> <ToggleButton Option="true" Color="Color.Primary">Yes</ToggleButton> </RadioButtonGroup>
Clicking a button will select that value, clicking again deselects it - Like the ToggleIconButton but with full text.
ToggleIconButton
Similar to RadioButtonGroup:
RadioButtonGroup
<MudRadioGroup @bind-SelectedOption="MyNullableBool"> <MudRadio Option="false" Color="Color.Primary">No</MudRadio> <MudRadio Option="true" Color="Color.Primary">Yes</MudRadio> </MudRadioGroup>
i was just looking at the spec for this, agree this would be a welcomed addition
Resolved by https://github.com/MudBlazor/MudBlazor/pull/7309
Also suggested on main repo: https://github.com/MudBlazor/MudBlazor/issues/7046
An alternative to
RadioGroup
that's styled as buttons:Clicking a button will select that value, clicking again deselects it - Like the
ToggleIconButton
but with full text.Similar to
RadioButtonGroup
:Have you seen this feature anywhere else?