From 5650f7371da3ae54f68dfdfd2f4c1d925a4a4184 Mon Sep 17 00:00:00 2001 From: Argo-Asicotech Date: Mon, 24 Oct 2022 20:41:14 +0800 Subject: [PATCH 1/3] =?UTF-8?q?refactor:=20=E5=88=A0=E9=99=A4=20AutoClearS?= =?UTF-8?q?earchText=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor.Shared/Locales/en.json | 1 - src/BootstrapBlazor.Shared/Locales/zh.json | 1 - src/BootstrapBlazor.Shared/Samples/Selects.razor | 3 +-- src/BootstrapBlazor/Components/Select/Select.razor.cs | 11 ----------- test/UnitTest/Components/SelectTest.cs | 1 - 5 files changed, 1 insertion(+), 16 deletions(-) diff --git a/src/BootstrapBlazor.Shared/Locales/en.json b/src/BootstrapBlazor.Shared/Locales/en.json index 28b9ccf3f..8e4ba073d 100644 --- a/src/BootstrapBlazor.Shared/Locales/en.json +++ b/src/BootstrapBlazor.Shared/Locales/en.json @@ -2867,7 +2867,6 @@ "SwalFooter": "Click Confirm to change the option value and select Cancel to leave the value unchanged", "ShowLabel": "Whether to display the front label", "ShowSearch": "Whether to display the search box", - "AutoClearSearchTextIntro": "By default, the component will maintain the SearchText. You can set the AutoClearSearchText parameter to control the automatic emptying of the search content when click the select item", "DisplayText": "The front label displays text", "Class": "Style", "Color": "Color", diff --git a/src/BootstrapBlazor.Shared/Locales/zh.json b/src/BootstrapBlazor.Shared/Locales/zh.json index 81bed095b..38e26ba04 100644 --- a/src/BootstrapBlazor.Shared/Locales/zh.json +++ b/src/BootstrapBlazor.Shared/Locales/zh.json @@ -2873,7 +2873,6 @@ "SwalFooter": "点击确认改变选项值,选择取消后值不变", "ShowLabel": "是否显示前置标签", "ShowSearch": "是否显示搜索框", - "AutoClearSearchTextIntro": "默认情况下组件会保持 SearchText 内容,可以通过设置 AutoClearSearchText 参数来控制选中候选项时自动清空搜索内容", "DisplayText": "前置标签显示文本", "Class": "样式", "Color": "颜色", diff --git a/src/BootstrapBlazor.Shared/Samples/Selects.razor b/src/BootstrapBlazor.Shared/Samples/Selects.razor index b3984e0bc..3eccf8657 100644 --- a/src/BootstrapBlazor.Shared/Samples/Selects.razor +++ b/src/BootstrapBlazor.Shared/Samples/Selects.razor @@ -237,13 +237,12 @@ -

@((MarkupString)Localizer["AutoClearSearchTextIntro"].Value)

+