File tree Expand file tree Collapse file tree 3 files changed +8
-12
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 3 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,6 @@ private enum MultiSelectEnumFoo
117117 <section ignore >
118118 <p >@( (MarkupString )Localizer [" MultiSelectSearchDescription" ].Value ) </p >
119119 <div class =" row g-3" >
120- <div class =" col-12 col-sm-6" >
121- <BootstrapInputGroup >
122- <BootstrapInputGroupLabel DisplayText =" ShowSearch" />
123- <Checkbox @bind-Value =" @_showSearch" />
124- </BootstrapInputGroup >
125- </div >
126120 <div class =" col-12 col-sm-6" >
127121 <BootstrapInputGroup >
128122 <BootstrapInputGroupLabel DisplayText =" IsFixedSearch" />
@@ -135,12 +129,12 @@ private enum MultiSelectEnumFoo
135129 <div class =" row g-3" >
136130 <div class =" col-12 col-sm-6" >
137131 <MultiSelect Items =" @Items" @bind-Value =" @SelectedSearchItemsValue"
138- ShowSearch =" _showSearch " IsFixedSearch =" _isFixedSearch" OnSearchTextChanged =" @OnSearch" >
132+ ShowSearch =" true " IsFixedSearch =" _isFixedSearch" OnSearchTextChanged =" @OnSearch" >
139133 </MultiSelect >
140134 </div >
141135 <div class =" col-12 col-sm-6" >
142136 <MultiSelect Items =" @LongItems" @bind-Value =" @SelectedMaxItemsValue"
143- ShowSearch =" _showSearch " IsFixedSearch =" _isFixedSearch" >
137+ ShowSearch =" true " IsFixedSearch =" _isFixedSearch" >
144138 </MultiSelect >
145139 </div >
146140 </div >
Original file line number Diff line number Diff line change @@ -110,8 +110,6 @@ private enum MultiSelectEnumFoo
110110
111111 private bool _isFixedSearch ;
112112
113- private bool _showSearch ;
114-
115113 private async Task < SelectedItem > OnEditCallback ( string value )
116114 {
117115 await Task . Delay ( 100 ) ;
Original file line number Diff line number Diff line change 333333 </section >
334334 <div class =" row g-3" >
335335 <div class =" col-12 col-sm-6" >
336- <Select TValue =" string" Items =" Items" ShowSearch =" true" IsClearable =" _isShowSearchClearable" IsFixedSearch =" _isFixedSearch" />
336+ <Select TValue =" string" Items =" Items" ShowSearch =" true"
337+ IsClearable =" _isShowSearchClearable" IsFixedSearch =" _isFixedSearch" >
338+ </Select >
337339 </div >
338340 <div class =" col-12 col-sm-6" >
339- <Select TValue =" string" Items =" StringItems" ShowSearch =" true" IsClearable =" _isShowSearchClearable" IsFixedSearch =" _isFixedSearch" />
341+ <Select TValue =" string" Items =" StringItems" ShowSearch =" true"
342+ IsClearable =" _isShowSearchClearable" IsFixedSearch =" _isFixedSearch" >
343+ </Select >
340344 </div >
341345 </div >
342346</DemoBlock >
You can’t perform that action at this time.
0 commit comments