-
Notifications
You must be signed in to change notification settings - Fork 380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to set the filter text externally #861
Comments
In the meantime, you can replace the |
I have to preserve the filter during page navigation. I was going through https://github.com/GriddleGriddle/Griddle/blob/master/src/components/Filter.js, but did not found any way to set the filter text externally. Below snippet filter the data properly but doesn't set the filter text. Need some indicators to proceed
store.dispatch({
type: 'GRIDDLE_SET_FILTER',
filter: this.props.filterText
});
The text was updated successfully, but these errors were encountered: