Skip to content

[Select] Placeholder moves up for (multi) Select component when startAdornment is set #19970

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
pefi1011 opened this issue Mar 3, 2020 · 2 comments
Closed
1 of 2 tasks
Labels
duplicate This issue or pull request already exists

Comments

@pefi1011
Copy link

pefi1011 commented Mar 3, 2020

  • The issue is present in the latest release. -> I suppose
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Adding icon to outlined Select component moves placeholder above the input field although no value is selected. Example:

Screenshot 2020-03-03 at 22 11 37

Expected Behavior 🤔

Placeholder value should remain within text field if no value is selected. Example:
Screenshot 2020-03-03 at 22 12 30

Steps to Reproduce 🕹

Steps:

  1. Use multi select component and set InputLabel for it
    Screenshot 2020-03-03 at 22 22 04

  2. Add startAdornment

Context 🔦

Your Environment 🌎

Tech Version
Material-UI v4.8.2
React 16.12.0
Browser Chrome/Firefox/Safari
TypeScript
etc.
@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Mar 3, 2020
@pefi1011
Copy link
Author

pefi1011 commented Mar 5, 2020

@oliviertassinari sorry for a duplicate..I did not find any issue with this..can you please post the issue here so that I can follow up and perhaps even implement the fix myself if its okay for new joiners?

@oliviertassinari
Copy link
Member

It's this one #13898.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants