Commit 5539dd0f authored by Oleksii Savran's avatar Oleksii Savran

Filters fixed

parent a2cfef58
......@@ -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