-
Notifications
You must be signed in to change notification settings - Fork 379
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
Props not Working #829
Comments
It looks like you're using a few Griddle v0 props?
Try
You can use
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: |
Thanks a lot for your very fast answer! It all works now! |
http://griddlegriddle.github.io/Griddle/docs/ is incomplete, but it shouldn't be wrong. If it is, we would like to fix that. The best documentation is honestly the Storybook. But we would be glad for any assistance in updating either to make the project easier to use. |
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: