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 use a CheckboxGroupInput in Filters, but this one is not aligned with the others inputs. I want the label and the checkboxes to be aligned as you can see below.
What happened instead:
According to this screenshot, we can see that the labels are not aligned.
Steps to reproduce:
Create a CheckboxGroupInput filter
Select the filter in the list and compare it to others
constPostFilter=props=>(<Filter{...props}><TextInputsource="title"defaultValue="Qui tempore rerum et voluptates"/><CheckboxGroupInputlabel="Languages"choices={[{id: 'english',name: 'English'},{id: 'french',name: 'French'},]}{...props}/></Filter>);
Related code:
It's a bug related to how the checkboxes are designed in Material UI. In facts, they use a IconButton which has a default size which is bigger than the size expected to align our filters.
Environment
React-admin version: 2.6
The text was updated successfully, but these errors were encountered:
What you were expecting:
I use a
CheckboxGroupInput
inFilters
, but this one is not aligned with the others inputs. I want the label and the checkboxes to be aligned as you can see below.What happened instead:
According to this screenshot, we can see that the labels are not aligned.
Steps to reproduce:
CheckboxGroupInput
filterRelated code:
It's a bug related to how the checkboxes are designed in Material UI. In facts, they use a
IconButton
which has a default size which is bigger than the size expected to align our filters.Environment
The text was updated successfully, but these errors were encountered: