diff --git a/src/components/form-field/search-input/search-input.tsx b/src/components/form-field/search-input/search-input.tsx index e7197841..c31fa5d9 100644 --- a/src/components/form-field/search-input/search-input.tsx +++ b/src/components/form-field/search-input/search-input.tsx @@ -22,6 +22,7 @@ export const SearchInput = ({ ...props }: SearchInputProps) => { const inputRef = useRef(null); + const isClearIconShown = !readOnly && !disabled && value !== undefined && value !== ""; const isClearIconShown = useMemo(() => { return !readOnly && !disabled && value?.toString().length;