Skip to content

Commit

Permalink
🐛 fix(radio-group): do not watch the value changed immediately (#1714)
Browse files Browse the repository at this point in the history
  • Loading branch information
capdiem authored Jan 4, 2024
1 parent 498efde commit 7bc140d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Masa.Blazor/Components/Radio/MRadioGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public class MRadioGroup<TValue> : MInput<TValue>, IRadioGroup<TValue>

private List<IRadio<TValue>> Items { get; } = new();

protected override bool WatchValueChangeImmediately => false;

protected override void OnValueChanged(TValue val)
{
base.OnValueChanged(val);
Expand Down

0 comments on commit 7bc140d

Please sign in to comment.