Skip to content

Commit a62407e

Browse files
committed
doc: 更新文档注释
1 parent 5046d7a commit a62407e

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -380,14 +380,6 @@ private AttributeItem[] GetAttributes() =>
380380
DefaultValue = "false"
381381
},
382382
new()
383-
{
384-
Name = "IsFixedSearch",
385-
Description = Localizer["MultiSelectsAttribute_IsFixedSearch"],
386-
Type = "bool",
387-
ValueList = "true|false",
388-
DefaultValue = "false"
389-
},
390-
new()
391383
{
392384
Name = "ShowToolbar",
393385
Description = Localizer["MultiSelectsAttribute_ShowToolbar"],

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,14 +353,6 @@ private AttributeItem[] GetAttributes() =>
353353
DefaultValue = "false"
354354
},
355355
new()
356-
{
357-
Name = "IsFixedSearch",
358-
Description = Localizer["SelectsIsFixedSearch"],
359-
Type = "boolean",
360-
ValueList = "true / false",
361-
DefaultValue = "false"
362-
},
363-
new()
364356
{
365357
Name = "IsDisabled",
366358
Description = Localizer["SelectsIsDisabled"],

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,8 +3028,7 @@
30283028
"MultiSelectVirtualizeTitle": "Virtualize",
30293029
"MultiSelectVirtualizeIntro": "Set <code>IsVirtualize</code> to <b>true</b> enable virtual scroll for large data",
30303030
"MultiSelectVirtualizeDescription": "Component virtual scrolling supports two ways of providing data through <code>Items</code> or <code>OnQueryAsync</code> callback methods",
3031-
"MultiSelectsAttribute_ShowSearch": "Whether to display the search box",
3032-
"MultiSelectsAttribute_IsFixedSearch": "Whether fixed the search box"
3031+
"MultiSelectsAttribute_ShowSearch": "Whether to display the search box"
30333032
},
30343033
"BootstrapBlazor.Server.Components.Samples.Radios": {
30353034
"RadiosTitle": "Radio",
@@ -3205,8 +3204,7 @@
32053204
"SelectsGenericDesc": "<p>Please refer to <a href=\"https://github.com/dotnetcore/BootstrapBlazor/issues/4497?wt.mc_id=DT-MVP-5004174\" target=\"_blank\">Design Ideas</a> to understand this feature. In this example, by selecting the drop-down box option, the value obtained is the <code>Foo</code> instance, and the value displayed in the text box on the right is the <code>Address</code> value of the <code>Foo</code> attribute</p><p>In this example, the <code>ValueEqualityComparer</code> and <code>CustomKeyAttribute</code> parameters are not set, and the <code>[Key]</code> tag of the <code>Id</code> attribute of <code>Foo</code> is used for equality judgment</p>",
32063205
"SelectsOnInputChangedCallback": "Callback method for converting input text into corresponding Value in edit mode",
32073206
"TextConvertToValueCallback": "Callback method when input text changes in edit mode",
3208-
"SelectsIsEditable": "Whether editable",
3209-
"SelectsIsFixedSearch": "Whether fixed the search box"
3207+
"SelectsIsEditable": "Whether editable"
32103208
},
32113209
"BootstrapBlazor.Server.Components.Samples.Sliders": {
32123210
"SlidersTitle": "Slider",

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3028,8 +3028,7 @@
30283028
"MultiSelectVirtualizeTitle": "虚拟滚动",
30293029
"MultiSelectVirtualizeIntro": "通过设置 <code>IsVirtualize</code> 参数开启组件虚拟功能特性",
30303030
"MultiSelectVirtualizeDescription": "组件虚拟滚动支持两种形式通过 <code>Items</code> 或者 <code>OnQueryAsync</code> 回调方法提供数据",
3031-
"MultiSelectsAttribute_ShowSearch": "是否显示搜索框",
3032-
"MultiSelectsAttribute_IsFixedSearch": "是否固定搜索栏"
3031+
"MultiSelectsAttribute_ShowSearch": "是否显示搜索框"
30333032
},
30343033
"BootstrapBlazor.Server.Components.Samples.Radios": {
30353034
"RadiosTitle": "Radio 单选框",
@@ -3205,8 +3204,7 @@
32053204
"SelectsGenericDesc": "<p>请参考 <a href=\"https://github.com/dotnetcore/BootstrapBlazor/issues/4497?wt.mc_id=DT-MVP-5004174\" target=\"_blank\">设计思路</a> 理解此功能。本例中通过选择下拉框选项,得到的值为 <code>Foo</code> 实例,右侧文本框内显示值为 <code>Foo</code> 属性 <code>Address</code> 值</p><p>本例中未设置 <code>ValueEqualityComparer</code> 以及 <code>CustomKeyAttribute</code> 参数,使用 <code>Foo</code> 属性 <code>Id</code> 的 <code>[Key]</code> 标签进行相等判定</p>",
32063205
"SelectsOnInputChangedCallback": "编辑模式下输入文本转换为对应 Value 回调方法",
32073206
"TextConvertToValueCallback": "编辑模式下输入文本变化时回调方法",
3208-
"SelectsIsEditable": "是否可编辑",
3209-
"SelectsIsFixedSearch": "是否固定搜索栏"
3207+
"SelectsIsEditable": "是否可编辑"
32103208
},
32113209
"BootstrapBlazor.Server.Components.Samples.Sliders": {
32123210
"SlidersTitle": "Slider 滑块",

0 commit comments

Comments
 (0)