fix: fix MagicInput component
Fix when the current input value does not generate a tag, but click the clear button, the search menu can not be shown. Clear the input value in the state. Closes-Bug: #2019065 Change-Id: Id985ee76db395a742152d5982af0766559e5a5da
This commit is contained in:
parent
3c5aeaa945
commit
f395e0e2ec
@ -450,6 +450,7 @@ class MagicInput extends PureComponent {
|
|||||||
this.clearInputValue();
|
this.clearInputValue();
|
||||||
this.setState(
|
this.setState(
|
||||||
{
|
{
|
||||||
|
inputValue: '',
|
||||||
tags: [],
|
tags: [],
|
||||||
currentFilter: null,
|
currentFilter: null,
|
||||||
isFocus: false,
|
isFocus: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user