[Monitoring] use defaulValue instead of filter to make pre-filled text input editable (#19462) (#19536)

This commit is contained in:
Tim Sullivan 2018-05-30 09:31:24 -07:00 committed by GitHub
parent f8521c09a4
commit 51feafb43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ export function MonitoringTableToolBar(props) {
const searchBox = props.showSearchBox
? (
<KuiToolBarSearchBox
filter={props.filterText}
defaultValue={props.filterText}
onFilter={props.onFilterChange}
placeholder={props.placeholder}
data-test-subj="monitoringTableToolBar"