fix(combo-search): can input empty value

This commit is contained in:
Paul Chavard 2021-08-18 11:35:06 +01:00
parent a4eb0e6e51
commit b81cfea0e4

View file

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