diff --git a/scm-ui/ui-components/src/forms/Select.tsx b/scm-ui/ui-components/src/forms/Select.tsx index 9373b7e8d2..27c416ec94 100644 --- a/scm-ui/ui-components/src/forms/Select.tsx +++ b/scm-ui/ui-components/src/forms/Select.tsx @@ -91,7 +91,7 @@ const InnerSelect: FC> = ({ } } } - }, [field, name, props, value]); + }, [field, value, name, props.onChange, props.innerRef]); const loadingClass = loading ? "is-loading" : ""; @@ -109,7 +109,7 @@ const InnerSelect: FC> = ({ disabled={disabled} {...createAttributesForTesting(testId)} > - {props.options.map(opt => { + {props.options.map((opt) => { return (