You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
<Griddle filter={...} /> works for setting the initial filter state; however, the default Filter component does not receive its initial value from state. I can't think of a reason we wouldn't want to fix that, if anyone's up for a PR. (Yes, I'm planning to start reviewing PRs again!)
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: