Skip to content

Commit e10592f

Browse files
authored
use default value since value is uncontrolled (#1088)
1 parent df9ca16 commit e10592f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui-frontend/packages/catalog-ui-search/src/main/webapp/react-component/filter/filter-input/customInputOrDefault.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const CustomInputOrDefaultPostValidation = ({
7373
} else {
7474
return (
7575
<TextField
76-
value={textValue}
76+
defaultValue={textValue}
7777
onChange={(e: React.ChangeEvent<HTMLInputElement>) => {
7878
onChange(e.target.value)
7979
}}

0 commit comments

Comments
 (0)