Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion components/vc-select/Selector/MultipleSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,14 @@ const SelectSelector = defineComponent<SelectorProps>({

const handleInput = (e: Event) => {
const composing = (e.target as any).composing;
targetValue.value = (e.target as any).value;
if (!composing) {
// Process input first (may split tokenSeparators and clear searchValue)
props.onInputChange(e);
// Sync with reactive inputValue to handle token splitting (searchValue becomes '')
targetValue.value = inputValue.value;
} else {
// During composition, sync directly from DOM
targetValue.value = (e.target as any).value;
}
};

Expand Down