diff --git a/src/mantine-core/src/components/TagsInput/TagsInput.tsx b/src/mantine-core/src/components/TagsInput/TagsInput.tsx index d13a39cd655..87b24bf12c9 100644 --- a/src/mantine-core/src/components/TagsInput/TagsInput.tsx +++ b/src/mantine-core/src/components/TagsInput/TagsInput.tsx @@ -234,6 +234,7 @@ export const TagsInput = factory((_props, ref) => { } if ((!isDuplicate || (isDuplicate && allowDuplicates)) && _value.length < maxTags!) { + onOptionSubmit?.(inputValue); setSearchValue(''); if (inputValue.length > 0) {