From dff22b346e830311de4695a0cb4f7eb07ac7125b Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 31 May 2025 09:13:04 +0800 Subject: [PATCH 1/8] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20resetValue=20?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/BootstrapBlazor/Components/Select/Select.razor.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/BootstrapBlazor/Components/Select/Select.razor.js b/src/BootstrapBlazor/Components/Select/Select.razor.js index af61156b497..cc92dab3e86 100644 --- a/src/BootstrapBlazor/Components/Select/Select.razor.js +++ b/src/BootstrapBlazor/Components/Select/Select.razor.js @@ -50,6 +50,13 @@ export function hide(id) { } } +export function resetValue(id, value) { + const input = document.getElementById(id); + if (input) { + input.value = value; + } +} + export function dispose(id) { const select = Data.get(id) Data.remove(id) From f929b822a1d67f3e2dad5d6538aa44a208210058 Mon Sep 17 00:00:00 2001 From: Argo Zhang Date: Sat, 31 May 2025 09:13:44 +0800 Subject: [PATCH 2/8] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=20tabindex?= =?UTF-8?q?=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Components/SelectGeneric/SelectGeneric.razor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BootstrapBlazor/Components/SelectGeneric/SelectGeneric.razor b/src/BootstrapBlazor/Components/SelectGeneric/SelectGeneric.razor index 635e0a65d2d..72d2c846123 100644 --- a/src/BootstrapBlazor/Components/SelectGeneric/SelectGeneric.razor +++ b/src/BootstrapBlazor/Components/SelectGeneric/SelectGeneric.razor @@ -16,7 +16,7 @@