Skip to content

Commit

Permalink
feat(Select): do not reset keywords on multiple mode, close #983
Browse files Browse the repository at this point in the history
  • Loading branch information
Javey committed Apr 12, 2024
1 parent 4b99078 commit d0d063d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion components/select/useInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ export function useInput(resetKeywords: (keywords: State<string>) => 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);
}
});

Expand Down

0 comments on commit d0d063d

Please sign in to comment.