Skip to content

Commit f741113

Browse files
committed
RadioInput - demos updated
1 parent 7199921 commit f741113

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<p>Would you like to receive notifications?</p>
2-
<RadioInput Name="EnableNotifications" Label="Yes" @bind-Value="isChecked" />
3-
<RadioInput Name="EnableNotifications" Label="No" @bind-Value="isChecked2" />
2+
<RadioInput Name="EnableNotifications" Label="Yes" @bind-Value="isYesOn" />
3+
<RadioInput Name="EnableNotifications" Label="No" @bind-Value="isNoOn" />
44

55
<div class="mt-3">
6-
<div>isChecked: @isChecked</div>
7-
<div>isChecked2: @isChecked2</div>
6+
<div>IsYesOn: @isYesOn</div>
7+
<div>IsNoOn: @isNoOn</div>
88
</div>
99
@code
1010
{
11-
private bool isChecked;
12-
private bool isChecked2 = true;
11+
private bool isYesOn;
12+
private bool isNoOn = true;
1313
}

0 commit comments

Comments
 (0)