-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[DataGrid] Add prop to override search input props in GridColumnsManagement
#15347
base: master
Are you sure you want to change the base?
Conversation
Localization writing tips ✍️Seems you are updating localization 🌍 files. Thank you for contributing to the localization! 🎉 To make your PR perfect, here is a list of elements to check: ✔️
Deploy preview: https://deploy-preview-15347--material-ui-x.netlify.app/ |
@@ -228,6 +231,7 @@ function GridColumnsManagement(props: GridColumnsManagementProps) { | |||
}} | |||
fullWidth | |||
{...rootProps.slotProps?.baseTextField} | |||
{...searchInputProps} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping it below the text field slot props so that it overrides them as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @KenanYusuf,
do you think we should make this a search input by default similar to in case of quick Filter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, search seems to be the correct input type here 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, tested changes here
https://deploy-preview-15347--material-ui-x.netlify.app/x/react-data-grid/column-visibility/
c4bea42
to
59a256b
Compare
}} | ||
autoComplete="off" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
visibility: 'hidden', | ||
}, | ||
]} | ||
tabIndex={-1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to align with #14587
Closes #15055
Preview: https://codesandbox.io/p/sandbox/mui-mui-x-x-data-grid-forked-dfj8yn