mirror of
https://github.com/apache/superset.git
synced 2024-09-07 06:17:45 -04:00
[bugfix] SQL Lab 'Filter Results' doesn't stick (#7104)
When using a "Search Results" criteria, the subset of rows that match the criteria get displayed. While this the filter is applied, if another query is run, the filter is still active, but not displayed in the input text box. After this change, the state of the input box sticks after subsequent queries.
This commit is contained in:
parent
ba19a62412
commit
d5e8d663dc
@ -153,8 +153,9 @@ export default class ResultSet extends React.PureComponent {
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
onChange={this.changeSearch.bind(this)}
|
onChange={this.changeSearch.bind(this)}
|
||||||
|
value={this.state.searchText}
|
||||||
className="form-control input-sm"
|
className="form-control input-sm"
|
||||||
placeholder={t('Search Results')}
|
placeholder={t('Filter Results')}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user