fix(combo-search): can input empty value
This commit is contained in:
parent
a4eb0e6e51
commit
b81cfea0e4
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ function ComboSearch({
|
||||||
setExternalId('');
|
setExternalId('');
|
||||||
setExternalValue(value);
|
setExternalValue(value);
|
||||||
}
|
}
|
||||||
|
} else if (!value) {
|
||||||
|
setExternalId('');
|
||||||
|
setExternalValue('');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[minimumInputLength]
|
[minimumInputLength]
|
||||||
|
|
Loading…
Reference in a new issue