Skip to content

Commit

Permalink
🐛 fix(Radio): missing ripple color (#1993)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Jun 27, 2024
1 parent a91a1ac commit 24e3f67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Masa.Blazor/Components/Radio/MRadio.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private string? ComputedColor

public string? ValidationState => RadioGroup?.ValidationState ?? ComputedColor;

private string? RippleState => !IsDisabled && !string.IsNullOrWhiteSpace(ValidationState) ? null : ValidationState;
private string? RippleState => !IsDisabled && !string.IsNullOrWhiteSpace(ValidationState) ? ValidationState : null;

protected override void OnInitialized()
{
Expand Down
2 changes: 1 addition & 1 deletion src/Masa.Blazor/Mixins/Selectable/MSelectable.razor
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

@code {

private string? RippleState => !IsDisabled && !string.IsNullOrWhiteSpace(ValidationState) ? null : ValidationState;
private string? RippleState => !IsDisabled && !string.IsNullOrWhiteSpace(ValidationState) ? ValidationState : null;

protected override RenderFragment GenDefaultSlot() => __builder =>
{
Expand Down

0 comments on commit 24e3f67

Please sign in to comment.