File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
BlazorBootstrap.Demo.RCL/Components/Pages/Form/RadioInput Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments