Skip to content

Commit

Permalink
fix(comp:tree-select): search input shouldn't be cleared after option…
Browse files Browse the repository at this point in the history
… checked (#1886)
  • Loading branch information
sallerli1 committed Apr 12, 2024
1 parent bae7eb7 commit 28f70c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/components/tree-select/src/TreeSelect.tsx
Expand Up @@ -94,9 +94,7 @@ export default defineComponent({
}

const handleNodeClick = () => {
if (props.multiple) {
clearInput()
} else {
if (!props.multiple) {
setOverlayOpened(false)
}
}
Expand Down

0 comments on commit 28f70c1

Please sign in to comment.