Skip to content

Commit b2a7d76

Browse files
committed
doc: 增加注释
1 parent 8da024f commit b2a7d76

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,14 @@ private AttributeItem[] GetAttributes() =>
321321
DefaultValue = "false"
322322
},
323323
new()
324+
{
325+
Name = "IsAutoClearSearchTextWhenCollapsed",
326+
Description = Localizer["SelectsIsAutoClearSearchTextWhenCollapsed"],
327+
Type = "bool",
328+
ValueList = "true|false",
329+
DefaultValue = "false"
330+
},
331+
new()
324332
{
325333
Name = "DisplayText",
326334
Description = Localizer["SelectsDisplayText"],

src/BootstrapBlazor.Server/Locales/en-US.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,6 +3221,7 @@
32213221
"SwalFooter": "Click Confirm to change the option value and select Cancel to leave the value unchanged",
32223222
"SelectsShowLabel": "Whether to display the front label",
32233223
"SelectsShowSearch": "Whether to display the search box",
3224+
"SelectsIsAutoClearSearchTextWhenCollapsed": "Whether to automatically clear the search bar when the drop-down box is collapsed",
32243225
"SelectsDisplayText": "The front label displays text",
32253226
"SelectsClass": "Style",
32263227
"SelectsColor": "Color",

src/BootstrapBlazor.Server/Locales/zh-CN.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3221,6 +3221,7 @@
32213221
"SwalFooter": "点击确认改变选项值,选择取消后值不变",
32223222
"SelectsShowLabel": "是否显示前置标签",
32233223
"SelectsShowSearch": "是否显示搜索框",
3224+
"SelectsIsAutoClearSearchTextWhenCollapsed": "下拉框收起时是否自动清空搜索栏",
32243225
"SelectsDisplayText": "前置标签显示文本",
32253226
"SelectsClass": "样式",
32263227
"SelectsColor": "颜色",

0 commit comments

Comments
 (0)