Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…ix-clear-button-visual-behavior
  • Loading branch information
donskov committed Oct 25, 2024
2 parents d35f3a3 + 3c1e8fc commit e063c38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/react-components/src/hooks/use_autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,8 @@ export function useAutocomplete<
};

const handleTagDelete = (option: T, index: number) => (event: React.SyntheticEvent) => {
event.preventDefault();

selectNewValue(event, option, index, 'removeOption');
};

Expand Down

0 comments on commit e063c38

Please sign in to comment.