Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Oct 25, 2024
1 parent dec7d0c commit 0d84536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default defineComponent({
const handleCreate = () => {
if (!innerInputValue.value) return;
props.onCreate?.(innerInputValue.value);
// only clean input value when multiple
// only clean input value when reopen popup
if (!innerPopupVisible.value) setInputValue('');
};

Expand Down

0 comments on commit 0d84536

Please sign in to comment.