{
if (validate(v)) {
setEmails([...emails, v]);
diff --git a/web/src/components/ui/inputs/InputTagInput.tsx b/web/src/components/ui/inputs/InputTagInput.tsx
index c3edf8a98..f6bd41703 100644
--- a/web/src/components/ui/inputs/InputTagInput.tsx
+++ b/web/src/components/ui/inputs/InputTagInput.tsx
@@ -11,6 +11,7 @@ export interface TagInputProps extends VariantProps {
tags: string[];
onTagAdd?: (tag: string) => void;
onTagRemove?: (index: number) => void;
+ onChangeText?: (text: string) => void;
placeholder?: string;
disabled?: boolean;
maxTags?: number;
@@ -26,6 +27,7 @@ const InputTagInput = React.forwardRef(
tags = [],
onTagAdd,
onTagRemove,
+ onChangeText,
placeholder,
disabled = false,
maxTags,
@@ -72,6 +74,7 @@ const InputTagInput = React.forwardRef(
} else {
setInputValue(value);
}
+ onChangeText?.(value);
});
// Focus the container when clicked