diff --git a/src/apps/content-editor/src/app/components/Editor/Field/Field.tsx b/src/apps/content-editor/src/app/components/Editor/Field/Field.tsx index 108535b75..6f7f036bb 100644 --- a/src/apps/content-editor/src/app/components/Editor/Field/Field.tsx +++ b/src/apps/content-editor/src/app/components/Editor/Field/Field.tsx @@ -21,6 +21,7 @@ import { TextField, Dialog, IconButton, + Autocomplete, } from "@mui/material"; import CloseIcon from "@mui/icons-material/Close"; @@ -618,21 +619,30 @@ export const Field = ({ return ( - + option.value === value) || null + } + onChange={(e, newValue) => onChange(newValue?.value || "", name)} + isOptionEqualToValue={(option, value) => + option.value === value.value + } + getOptionLabel={(option) => option.text || ""} + renderInput={(params) => ( + !!error) + } + /> + )} + /> );