This is useful for filter-type searches, where the user might need to reset their filters to get back to the default state.
I imagine the presentation of this would take the form of a "clear" button and Esc keybindings, and in terms of API I would expect the default to be false. Something like:
<EuiFieldSearch value={state.filterText} onChange={this.onChange} clearable={true} />
This is useful for filter-type searches, where the user might need to reset their filters to get back to the default state.
I imagine the presentation of this would take the form of a "clear" button and Esc keybindings, and in terms of API I would expect the default to be false. Something like:
<EuiFieldSearch value={state.filterText} onChange={this.onChange} clearable={true} />