Commit b0c408d7 authored by Matija Obreza's avatar Matija Obreza

Merge branch '705-filter-text-search' into 'master'

Filters: text search

Closes #705

See merge request genesys-pgr/genesys-ui!688
parents a2cfef58 5539dd0f
......@@ -39,6 +39,10 @@ class TextFilterInternal extends React.Component<ITextFilterInternal, any> {
return { text: props.input.value };
}
public shouldComponentUpdate(nextProps: Readonly<ITextFilterInternal>, nextState: Readonly<any>, nextContext: any): boolean {
return this.state.text !== nextState.text;
}
public render() {
const { label, placeholder, t, hint, endAdornment } = this.props;
return (
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment