Skip to content

Commit

Permalink
[Datagrid] Fix props propagation on GridToolbarQuickFilter component (
Browse files Browse the repository at this point in the history
  • Loading branch information
giladappsforce committed Jul 10, 2023
1 parent 02e9b1a commit 82ab9c0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ function GridToolbarQuickFilter(props: GridToolbarQuickFilterProps) {
placeholder={apiRef.current.getLocaleText('toolbarQuickFilterPlaceholder')}
aria-label={apiRef.current.getLocaleText('toolbarQuickFilterLabel')}
type="search"
{...other}
InputProps={{
startAdornment: <rootProps.slots.quickFilterIcon fontSize="small" />,
endAdornment: (
Expand All @@ -148,8 +149,8 @@ function GridToolbarQuickFilter(props: GridToolbarQuickFilterProps) {
<rootProps.slots.quickFilterClearIcon fontSize="small" />
</rootProps.slots.baseIconButton>
),
...other.InputProps,
}}
{...other}
{...rootProps.slotProps?.baseTextField}
/>
);
Expand Down

0 comments on commit 82ab9c0

Please sign in to comment.