fix (admin): related backend datalist

autocomplete with datalist was causing weird issues
This commit is contained in:
Mickael Kerjean 2022-11-16 08:25:21 +11:00
parent 59edf81817
commit a9350c3126

View file

@ -137,7 +137,7 @@ const FormElement = (props) => {
<Input list={list_id} onChange={(e) => onTextChange(e.target.value)} {...id}
name={struct.label} type="text" value={struct.value || ""}
placeholder={ t(struct.placeholder) } readOnly={struct.readonly}
autoComplete="new-password" autoCorrect="off" autoCapitalize="off"
autoComplete="off" autoCorrect="off" autoCapitalize="off"
spellCheck="false" />
);
if (list_id != null) {