ui: fix SearchableSelect not selecting when hitting enter

This commit is contained in:
Matthew Penner 2021-10-28 23:48:07 -06:00
parent c48d573cc9
commit cc2ed97b0f
No known key found for this signature in database
GPG key ID: BAB67850901908A8

View file

@ -178,6 +178,7 @@ export const SearchableSelect = <T extends IdObj>({ id, name, label, placeholder
}
setSelected(item);
onSelect(item);
}
};