Merge pull request #6396 from tchak/fix-empty-commune-select

fix(combo-search): can input empty value
This commit is contained in:
Paul Chavard 2021-08-18 15:57:40 +01:00 committed by GitHub
commit d67778a636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -83,6 +83,9 @@ function ComboSearch({
setExternalId(''); setExternalId('');
setExternalValue(value); setExternalValue(value);
} }
} else if (!value) {
setExternalId('');
setExternalValue('');
} }
}, },
[minimumInputLength] [minimumInputLength]