mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
(cherry picked from commit e510b2eee568117e73bad61a1c33d2322515a435)
This commit is contained in:
parent
d1ab3f4705
commit
a091210bef
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user