Keep multiselect open after making choice (#1345) (#1350)

This commit is contained in:
SektorDV 2021-09-02 09:01:57 +02:00 committed by GitHub
parent 9c1c39a025
commit ab0717ef23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,7 +129,7 @@ const MultiAutocompleteSelectFieldComponent: React.FC<MultiAutocompleteSelectFie
downshiftOpts?: ControllerStateAndHelpers
) => {
if (downshiftOpts) {
downshiftOpts.reset({ inputValue: "" });
downshiftOpts.reset({ inputValue: "", isOpen: true });
}
onChange({
target: { name, value: item }