feat(ui) - auto complete fix focus out
This commit is contained in:
parent
1391b741b2
commit
5bf4f66933
1 changed files with 3 additions and 1 deletions
|
|
@ -92,7 +92,9 @@ function FilterAutoComplete(props: Props) {
|
|||
|
||||
const onBlur = (e) => {
|
||||
setTimeout(() => { setShowModal(false) }, 200)
|
||||
props.onSelect(e, { value: query })
|
||||
if (query !== value) {
|
||||
props.onSelect(e, { value: query })
|
||||
}
|
||||
}
|
||||
|
||||
const onItemClick = (e, item) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue