55
66<h4 >@Localizer ["MultiSelectsDescription"]</h4 >
77
8- @* <DemoBlock Title="@Localizer["MultiSelectColorTitle"]" Introduction="@Localizer["MultiSelectColorIntro"]" Name="Color">
8+ <DemoBlock Title =" @Localizer[" MultiSelectColorTitle " ]" Introduction =" @Localizer[" MultiSelectColorIntro " ]" Name =" Color" >
99 <div class =" row g-3" >
1010 <div class =" col-12 col-sm-6" >
1111 <MultiSelect TValue =" string" Items =" @Items1" />
8181 <section ignore >@( (MarkupString )Localizer [" MultiSelectBindingNumberDescription" ].Value ) </section >
8282 <div class =" row g-3" >
8383 <div class =" col-12 col-sm-6" >
84- <MultiSelect Items="@LongItems" @bind-Value="@SelectedIntArrayValues" / >
84+ <MultiSelect Items =" @LongItems" @bind-Value =" @SelectedIntArrayValues" ></ MultiSelect >
8585 </div >
8686 <div class =" col-12 col-sm-6" >
8787 <Button Icon =" fa-solid fa-plus" Text =" @Localizer[" MultiSelectAdd " ]" OnClick =" @AddArrayItems" class =" me-1" ></Button >
9696 <section ignore >@( (MarkupString )Localizer [" MultiSelectBindingEnumCollectionDescription" ].Value ) </section >
9797 <MultiSelect @bind-Value =" @SelectedEnumValues" ></MultiSelect >
9898 <section ignore >@( string .Join (" ," , SelectedEnumValues )) </section >
99- </DemoBlock> *@
99+ </DemoBlock >
100100
101101<DemoBlock Title =" @Localizer[" MultiSelectFlagsEnumTitle " ]" Introduction =" @Localizer[" MultiSelectFlagsEnumIntro " ]"
102102 Name =" Flags" >
@@ -113,36 +113,36 @@ private enum MultiSelectEnumFoo
113113 <MultiSelect @bind-Value =" @EnumFoo" ></MultiSelect >
114114</DemoBlock >
115115
116- @* <DemoBlock Title="@Localizer["MultiSelectSearchTitle"]" Introduction="@Localizer["MultiSelectSearchIntro"]" Name="Search">
116+ <DemoBlock Title =" @Localizer[" MultiSelectSearchTitle " ]" Introduction =" @Localizer[" MultiSelectSearchIntro " ]" Name =" Search" >
117117 <section ignore >@( (MarkupString )Localizer [" MultiSelectSearchDescription" ].Value ) </section >
118- <MultiSelect Items="@Items" @bind-Value="@SelectedSearchItemsValue" ShowSearch="true" OnSearchTextChanged="@OnSearch" / >
118+ <MultiSelect Items =" @Items" @bind-Value =" @SelectedSearchItemsValue" ShowSearch =" true" OnSearchTextChanged =" @OnSearch" ></ MultiSelect >
119119 <section ignore >@SelectedSearchItemsValue </section >
120- <ConsoleLogger @ref="Logger" / >
120+ <ConsoleLogger @ref =" Logger" ></ ConsoleLogger >
121121</DemoBlock >
122122
123123<DemoBlock Title =" @Localizer[" MultiSelectGroupTitle " ]" Introduction =" @Localizer[" MultiSelectGroupIntro " ]" Name =" Group" >
124124 <div class =" row g-3" >
125125 <div class =" col-12 col-sm-6" >
126- <MultiSelect TValue="string" Items="GroupItems" / >
126+ <MultiSelect TValue =" string" Items =" GroupItems" ></ MultiSelect >
127127 </div >
128128 </div >
129129</DemoBlock >
130130
131131<DemoBlock Title =" @Localizer[" MultiSelectDisableTitle " ]" Introduction =" @Localizer[" MultiSelectDisableIntro " ]" Name =" Disable" >
132132 <section ignore >@Localizer ["MultiSelectDisableDescription"]</section >
133- <MultiSelect Items="@Items" Value="@SelectedDisableItemsValue" IsDisabled="true" / >
133+ <MultiSelect Items =" @Items" Value =" @SelectedDisableItemsValue" IsDisabled =" true" ></ MultiSelect >
134134</DemoBlock >
135135
136136<DemoBlock Title =" @Localizer[" MultiSelectOptionChangeTitle " ]" Introduction =" @Localizer[" MultiSelectOptionChangeIntro " ]" Name =" OptionChange" >
137- <MultiSelect Items="@Items" OnSelectedItemsChanged="@OnSelectedItemsChanged8" Value="@SelectedOptionItemsValue" / >
137+ <MultiSelect Items =" @Items" OnSelectedItemsChanged =" @OnSelectedItemsChanged8" Value =" @SelectedOptionItemsValue" ></ MultiSelect >
138138</DemoBlock >
139139
140140<DemoBlock Title =" @Localizer[" MultiSelectClientValidationTitle " ]" Introduction =" @Localizer[" MultiSelectClientValidationIntro " ]" Name =" ClientValidation" >
141141 <section ignore >@( (MarkupString )Localizer [" MultiSelectClientValidationDescription" ].Value ) </section >
142142 <ValidateForm Model =" @Model" >
143143 <div class =" row g-3" >
144144 <div class =" col-12 col-sm-8" >
145- <MultiSelect Items="Items" @bind-Value="@Model.Address" / >
145+ <MultiSelect Items =" Items" @bind-Value =" @Model.Address" ></ MultiSelect >
146146 </div >
147147 <div class =" col-12 col-sm-4 align-self-end" >
148148 <Button ButtonType =" ButtonType.Submit" >@Localizer ["MultiSelectClientValidationSubmit"]</Button >
@@ -154,12 +154,12 @@ private enum MultiSelectEnumFoo
154154<DemoBlock Title =" @Localizer[" MultiSelectDisplayLabelTitle " ]" Introduction =" @Localizer[" MultiSelectDisplayLabelIntro " ]" Name =" DisplayLabel" >
155155 <section ignore >
156156 <p >@( (MarkupString )Localizer [" MultiSelectDisplayLabelDescription" ].Value ) </p >
157- <Divider Text="@Localizer["MultiSelectDisplayLabelShowLabel"]" Alignment="Alignment.Left" style="margin: 2rem 0;" / >
157+ <Divider Text =" @Localizer[" MultiSelectDisplayLabelShowLabel " ]" Alignment =" Alignment.Left" style =" margin : 2rem 0 ;" ></ Divider >
158158 </section >
159159 <ValidateForm Model =" @Foo" >
160160 <div class =" row g-3" >
161161 <div class =" col-12" >
162- <MultiSelect Color="Color.Primary" Items="@Items1" @bind-Value="@Foo.Name" / >
162+ <MultiSelect Color =" Color.Primary" Items =" @Items1" @bind-Value =" @Foo.Name" ></ MultiSelect >
163163 </div >
164164 </div >
165165 </ValidateForm >
@@ -177,19 +177,19 @@ private enum MultiSelectEnumFoo
177177
178178<DemoBlock Title =" @Localizer[" MultiSelectButtonTitle " ]" Introduction =" @Localizer[" MultiSelectButtonIntro " ]" Name =" Button" >
179179 <div style =" max-width : 400px " >
180- <MultiSelect Items="@LongItems" @bind-Value="@SelectedLongItemsValue1" ShowToolbar="true" ShowSearch="true" / >
180+ <MultiSelect Items =" @LongItems" @bind-Value =" @SelectedLongItemsValue1" ShowToolbar =" true" ShowSearch =" true" ></ MultiSelect >
181181 <p >@SelectedLongItemsValue1 </p >
182182 </div >
183183</DemoBlock >
184184
185185<DemoBlock Title =" @Localizer[" MultiSelectMaxMinTitle " ]" Introduction =" @Localizer[" MultiSelectMaxMinIntro " ]" Name =" MaxMin" >
186186 <div style =" max-width : 300px " >
187187 <p >@Localizer ["MultiSelectMaxMinMax"]</p >
188- <MultiSelect Items="@LongItems" @bind-Value="@SelectedMaxItemsValue" Max="2" / >
188+ <MultiSelect Items =" @LongItems" @bind-Value =" @SelectedMaxItemsValue" Max =" 2" ></ MultiSelect >
189189 </div >
190190 <div style =" max-width : 300px " class =" mt-3" >
191191 <p >@Localizer ["MultiSelectMaxMinMin"]</p >
192- <MultiSelect Items="@LongItems" @bind-Value="@SelectedMinItemsValue" Min="2" / >
192+ <MultiSelect Items =" @LongItems" @bind-Value =" @SelectedMinItemsValue" Min =" 2" ></ MultiSelect >
193193 </div >
194194</DemoBlock >
195195
@@ -210,7 +210,7 @@ private enum MultiSelectEnumFoo
210210 <Select TValue =" string" Items =" @_cascadingItems2" OnSelectedItemChanged =" @OnCascadeBindSelectClick" ></Select >
211211 </div >
212212 <div class =" col-12 col-sm-6" >
213- <MultiSelect TValue="string" Items="@CascadingItems1" / >
213+ <MultiSelect TValue =" string" Items =" @CascadingItems1" ></ MultiSelect >
214214 </div >
215215 </div >
216216</DemoBlock >
@@ -251,7 +251,7 @@ private enum MultiSelectEnumFoo
251251<DemoBlock Title =" @Localizer[" MultiSelectPopoverTitle " ]" Introduction =" @Localizer[" MultiSelectPopoverIntro " ]" Name =" Popover" >
252252 <div class =" row" >
253253 <div class =" col-12 col-sm-6 overflow-hidden" >
254- <MultiSelect TValue="string" Items="@Items" IsPopover="true" ShowSearch="true" ShowToolbar / >
254+ <MultiSelect TValue =" string" Items =" @Items" IsPopover =" true" ShowSearch =" true" ShowToolbar = " true " ></ MultiSelect >
255255 </div >
256256 </div >
257257</DemoBlock >
@@ -262,14 +262,14 @@ private enum MultiSelectEnumFoo
262262 </section >
263263 <div class =" row g-3" >
264264 <div class =" col-12 col-sm-6" >
265- <MultiSelect @bind-Value="@_editString" Items="@EditableItems" IsEditable="true" Max="2" EditSubmitKey="EditSubmitKey.Enter" OnEditCallback="OnEditCallback" / >
265+ <MultiSelect @bind-Value =" @_editString" Items =" @EditableItems" IsEditable =" true" Max =" 2" EditSubmitKey =" EditSubmitKey.Enter" OnEditCallback =" OnEditCallback" ></ MultiSelect >
266266 </div >
267267 <div class =" col-12 col-sm-6" >
268268 <Display Value =" @_editString" ></Display >
269269 </div >
270270 </div >
271- </DemoBlock> *@
271+ </DemoBlock >
272272
273- <AttributeTable Items =" @GetAttributes()" / >
273+ <AttributeTable Items =" @GetAttributes()" ></ AttributeTable >
274274
275- <EventTable Items =" @GetEvents()" / >
275+ <EventTable Items =" @GetEvents()" ></ EventTable >
0 commit comments