Skip to content

Commit

Permalink
Fixing: mui#8703
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfredo Perez committed Dec 26, 2023
1 parent 483e5c4 commit 0cdfe8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cdfe8c

Please sign in to comment.