Skip to content

Commit

Permalink
Don't strip dashes from search input (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
zencephalon authored Aug 22, 2024
1 parent cbd46d8 commit 9dc07a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function RegistrationSearchInput({

const handleSearchChange = useCallback((event: React.ChangeEvent<HTMLInputElement>) => {
const { value } = event.target;
setSearch(value.replace(/[\s\.\-]+/g, ''));
setSearch(value.replace(/[\s\.]+/g, ''));
}, []);

useEffect(() => {
Expand Down

0 comments on commit 9dc07a9

Please sign in to comment.