diff --git a/frontend/src/app-components/inputs/AutoCompleteSelect.tsx b/frontend/src/app-components/inputs/AutoCompleteSelect.tsx index 43bd384c..439cc6d5 100644 --- a/frontend/src/app-components/inputs/AutoCompleteSelect.tsx +++ b/frontend/src/app-components/inputs/AutoCompleteSelect.tsx @@ -52,12 +52,15 @@ const AutoCompleteSelect = < FreeSolo extends boolean | undefined = false, >( { + label, value, options = [], idKey = "id", labelKey, multiple, onSearch, + error, + helperText, isOptionEqualToValue = (option, value) => option?.[idKey] === value?.[idKey], getOptionLabel = (option) => option?.[String(labelKey)] || option?.[idKey], @@ -154,7 +157,10 @@ const AutoCompleteSelect = < renderInput={(props) => ( handleSearch(e.target.value)} + error={error} + helperText={helperText} InputProps={{ ...props.InputProps, endAdornment: (