diff --git a/src/components/forms/fields/InputFieldWithTags/InputFieldWithTags.tsx b/src/components/forms/fields/InputFieldWithTags/InputFieldWithTags.tsx index b31dd9d..1e769c5 100644 --- a/src/components/forms/fields/InputFieldWithTags/InputFieldWithTags.tsx +++ b/src/components/forms/fields/InputFieldWithTags/InputFieldWithTags.tsx @@ -58,11 +58,6 @@ export const InputFieldWithTags = (props: InputFieldWithTagsProps) => { const controlId = React.useId(); const formContext = useFormContext(); - const injectedInputProps = { - ...inputProps, - unstyled: tags && tags.length > 0, - }; - const onChange = (e: React.ChangeEvent) => { // first handle supplied onChange, if exists if (inputProps.onChange) { @@ -121,7 +116,8 @@ export const InputFieldWithTags = (props: InputFieldWithTagsProps) => { tags.map((tag, idx) => onRemoveTag(idx)}/>) )}