You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the EuiInMemoryTable with search / EuiSearchBarProps, the clear query button does not display when the search state is externally provided.
To reproduce:
The "In-memory table with search and external state" example displays this issue. Just click any of the left side selectable cards, and the query will be updated. Add a space in the search bar and submit, and the clear query button will appear.
The text was updated successfully, but these errors were encountered:
A quick look before the issue was created showed that search_box uses defaultValue for query values, but field_search looks at value to determine whether to display the clear button. Just a little debug help for whoever takes this on.
Another bug with the controlled input, reproducible on the Controlled docs:
If a pre-built value is selected and the input then changed by the user, that same pre-built value won't reselect. This is likely a bug in the example docs and not EUI src.
Using the
EuiInMemoryTable
with search /EuiSearchBarProps
, the clear query button does not display when the search state is externally provided.To reproduce:
The "In-memory table with search and external state" example displays this issue. Just click any of the left side selectable cards, and the query will be updated. Add a space in the search bar and submit, and the clear query button will appear.
The text was updated successfully, but these errors were encountered: