From d0d063d588b48c3d350dc30f277fb015899f790f Mon Sep 17 00:00:00 2001 From: Javey Date: Fri, 12 Apr 2024 16:13:47 +0800 Subject: [PATCH] feat(Select): do not reset keywords on multiple mode, close #983 --- components/select/useInput.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/select/useInput.ts b/components/select/useInput.ts index ea1c3e19d..75fd83cab 100644 --- a/components/select/useInput.ts +++ b/components/select/useInput.ts @@ -54,7 +54,11 @@ export function useInput(resetKeywords: (keywords: State) => void) { const {multiple, filterable} = component.get(); if (multiple && filterable) { focusInput(); - resetKeywords(keywords); + /** + * don't reset keywords on multipe mode for continue selection + * https://github.com/ksc-fe/kpc/issues/983 + */ + // resetKeywords(keywords); } });