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
Settings Toggle and Filter to respond to Props settings
Actual Behavior
Nothing changes
Steps to reproduce
I am currently using Griddle like this:
<Griddle
data={this.fakeData}
styleConfig={styleConfig}
plugins={[plugins.LocalPlugin]}
filterPlaceholderText={'search users'}
showSettings={false}
showFilter={false}
enableToggleCustom={false}
/>
Settings Toggle buttons still appear on screen.
The same goes for "Filter" input box.
Also text inside filter input is still the default value and not 'search users'.
Am I facing a version difference problem?
The text was updated successfully, but these errors were encountered:
You can use textProperties={{ filterPlaceholder: 'search users' }} since v1.13.1, or to avoid an upgrade you can override Filter/FilterContainer with their changes from #780.
showFilter={false}
We don't currently have an equivalent prop for this. The easiest way to hide the filter is to swap in a component that renders nothing: components={{ Filter: () => null }}. We'd certainly accept a PR to make this more intuitive.
Griddle version
1.8.0
Expected Behavior
Settings Toggle and Filter to respond to Props settings
Actual Behavior
Nothing changes
Steps to reproduce
I am currently using Griddle like this:
<Griddle
data={this.fakeData}
styleConfig={styleConfig}
plugins={[plugins.LocalPlugin]}
filterPlaceholderText={'search users'}
showSettings={false}
showFilter={false}
enableToggleCustom={false}
/>
Settings Toggle buttons still appear on screen.
The same goes for "Filter" input box.
Also text inside filter input is still the default value and not 'search users'.
Am I facing a version difference problem?
The text was updated successfully, but these errors were encountered: