ui: fix SearchableSelect not selecting when hitting enter
This commit is contained in:
parent
c48d573cc9
commit
cc2ed97b0f
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ export const SearchableSelect = <T extends IdObj>({ id, name, label, placeholder
|
||||||
}
|
}
|
||||||
|
|
||||||
setSelected(item);
|
setSelected(item);
|
||||||
|
onSelect(item);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue