diff --git a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx index 110adbc553a6..c2e42731c809 100644 --- a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx +++ b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx @@ -83,7 +83,7 @@ function GridFilterInputBoolean(props: GridFilterInputBooleanProps) { value={filterValueState} onChange={onFilterChange} variant={variant} - notched={variant === 'outlined'} + notched={variant === 'outlined' ? true : undefined} native={isSelectNative} displayEmpty inputProps={{ ref: focusElementRef, tabIndex }} diff --git a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx index 621f873de8c5..5bb1f0569e4a 100644 --- a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx +++ b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx @@ -91,8 +91,6 @@ function GridFilterInputSingleSelect(props: GridFilterInputSingleSelectProps) { const isSelectNative = rootProps.slotProps?.baseSelect?.native ?? false; - console.warn(isSelectNative) - let resolvedColumn: GridSingleSelectColDef | null = null; if (item.field) { const column = apiRef.current.getColumn(item.field); @@ -152,7 +150,7 @@ function GridFilterInputSingleSelect(props: GridFilterInputSingleSelectProps) { placeholder: placeholder ?? apiRef.current.getLocaleText('filterPanelInputPlaceholder'), }} native={isSelectNative} - notched={variant === 'outlined'} + notched={variant === 'outlined' ? true : undefined} {...others} {...rootProps.slotProps?.baseSelect} > diff --git a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx index 6535b9420cfa..e6d232c5846f 100644 --- a/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx +++ b/packages/grid/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx @@ -71,6 +71,7 @@ function GridFilterInputValue(props: GridTypeFilterInputValueProps) { value={filterValueState} onChange={onFilterChange} variant={variant} + notched={variant === 'outlined' ? true : undefined} type={type || 'text'} InputProps={{ ...(applying || clearButton