From 72e6193e5e161057ffcc6f19822253868934af3e Mon Sep 17 00:00:00 2001 From: yassinedorbozgithub Date: Sun, 3 Nov 2024 10:48:47 +0100 Subject: [PATCH] fix(frontend): AutoCompleteSelect default value --- frontend/src/app-components/inputs/AutoCompleteEntitySelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app-components/inputs/AutoCompleteEntitySelect.tsx b/frontend/src/app-components/inputs/AutoCompleteEntitySelect.tsx index a92649f..2d4002c 100644 --- a/frontend/src/app-components/inputs/AutoCompleteEntitySelect.tsx +++ b/frontend/src/app-components/inputs/AutoCompleteEntitySelect.tsx @@ -113,7 +113,7 @@ const AutoCompleteEntitySelect = < return ( - value={value} + {...(options.length && { value })} onChange={onChange} label={label} multiple={multiple}