We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7689de5 + 60b9082 commit fcba332Copy full SHA for fcba332
src/components/pages/create-group/fields/tags-field/index.tsx
@@ -17,7 +17,7 @@ export const GroupTagsField = ({ field }: Props) => {
17
const [inputValue, setInputValue] = useState('');
18
19
const onEnter = (e: React.KeyboardEvent<HTMLInputElement>) => {
20
- if (e.code !== 'Enter' && e.code !== 'NumpadEnter') return;
+ if (e.key !== 'Enter') return;
21
if (e.nativeEvent.isComposing) return;
22
23
const isUniqueTag = !field.state.value.includes(inputValue);
0 commit comments