Skip to content

Commit 3e5e932

Browse files
committed
doc: 更新默认值
1 parent a86e869 commit 3e5e932

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/BootstrapBlazor.Server/Components/Samples/Selects.razor.cs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,11 @@ public sealed partial class Selects
4141
[NotNull]
4242
private IStringLocalizer<Foo>? LocalizerFoo { get; set; }
4343

44-
private bool _showSearch;
45-
44+
private bool _showSearch = true;
4645
private bool _showPopoverSearch = true;
47-
48-
private bool _isShowSearchClearable;
49-
50-
private bool _isFixedSearch;
51-
52-
private bool _isClearable;
53-
46+
private bool _isShowSearchClearable = true;
47+
private bool _isFixedSearch = true;
48+
private bool _isClearable = true;
5449
private string? _fooName;
5550

5651
private readonly List<SelectedItem> _enumValueDemoItems = [

0 commit comments

Comments
 (0)