Skip to content

[Select] Fix className overwritten#25815

Merged
siriwatknp merged 6 commits intomui:nextfrom
siriwatknp:classname-styled-select
Apr 18, 2021
Merged

[Select] Fix className overwritten#25815
siriwatknp merged 6 commits intomui:nextfrom
siriwatknp:classname-styled-select

Conversation

@siriwatknp
Copy link
Member

This PR should close #25814

@siriwatknp siriwatknp added the scope: select Changes related to the select. label Apr 17, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Apr 17, 2021

Details of bundle changes

Generated by 🚫 dangerJS against b1af7ab

@oliviertassinari oliviertassinari changed the title [Select] fix className overwritten [Select] Fix className overwritten Apr 17, 2021
@oliviertassinari oliviertassinari added the type: bug It doesn't behave as expected. label Apr 17, 2021
@oliviertassinari
Copy link
Member

@siriwatknp Well spotted! I have updated the implementation a bit to stay closer to the convention and the test case to reduce the unknowns. Testing the class names is more universal.

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch!

@siriwatknp siriwatknp merged commit d687a88 into mui:next Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: select Changes related to the select. type: bug It doesn't behave as expected.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Select] className of input is overwritten if styled Select

4 participants