diff --git a/src/fireedge/src/client/components/FormControl/AutocompleteController.js b/src/fireedge/src/client/components/FormControl/AutocompleteController.js index 9242477d7d..267961cd19 100644 --- a/src/fireedge/src/client/components/FormControl/AutocompleteController.js +++ b/src/fireedge/src/client/components/FormControl/AutocompleteController.js @@ -91,7 +91,7 @@ const AutocompleteController = memo( {...(Array.isArray(separators) && { autoSelect: true, onInputChange: (event, newInputValue) => { - if (separators.includes(newInputValue.at(-1))) { + if (separators.includes([...newInputValue].at(-1))) { event.target.blur() event.target.focus() }