diff --git a/packages/core/src/components/common/autocomplete/Autocomplete.tsx b/packages/core/src/components/common/autocomplete/Autocomplete.tsx index 2f963211..a61c4377 100644 --- a/packages/core/src/components/common/autocomplete/Autocomplete.tsx +++ b/packages/core/src/components/common/autocomplete/Autocomplete.tsx @@ -69,8 +69,8 @@ const Autocomplete = function ( ); const clear = useCallback(() => { - onChange(undefined); - }, [onChange]); + onChange(Array.isArray(value) ? [] : undefined); + }, [onChange, value]); return (
@@ -142,7 +142,7 @@ const Autocomplete = function ( aria-hidden="true" /> - {!required && !Array.isArray(value) ? ( + {!required ? (