Skip to content

fix: overlapping input label when filter select is outline#1334

Merged
KevinVandy merged 1 commit intoKevinVandy:v3from
fredericbahr:patch-2
Dec 22, 2024
Merged

fix: overlapping input label when filter select is outline#1334
KevinVandy merged 1 commit intoKevinVandy:v3from
fredericbahr:patch-2

Conversation

@fredericbahr
Copy link
Contributor

As stated in the API Documentation of MUI https://mui.com/material-ui/api/select/#props the label should be shrunk when display empty is true.

I do not know why we need the display empty. If we remove it, the error also is removed. So you should consider what the use-case for displayEmpty really is.

Fixes: #1142

@vercel
Copy link

vercel bot commented Dec 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
material-react-table ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2024 4:27pm
material-react-table-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 22, 2024 4:27pm

As stated in the API Documentation of MUI https://mui.com/material-ui/api/select/#props the label should be shrunk when display empty is true.

I do not know why we need the display empty. If we remove it, the error also is removed. So you should consider what the use-case for displayEmpty really is.

Fixes: #1142
@KevinVandy KevinVandy merged commit 99f970d into KevinVandy:v3 Dec 22, 2024
1 of 2 checks passed
kabaniery pushed a commit to kabaniery/material-react-table that referenced this pull request Nov 20, 2025
…y#1334)

As stated in the API Documentation of MUI https://mui.com/material-ui/api/select/#props the label should be shrunk when display empty is true.

I do not know why we need the display empty. If we remove it, the error also is removed. So you should consider what the use-case for displayEmpty really is.

Fixes: KevinVandy#1142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing InputLabel when filter is a Select, variant is outlined, in custom filter ui

2 participants