Skip to content
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

[SelectField] Wrong positioning of errorText with floatingLabelText #1111

Closed
patrykkopycinski opened this issue Jul 10, 2015 · 5 comments · Fixed by #1341
Closed

[SelectField] Wrong positioning of errorText with floatingLabelText #1111

patrykkopycinski opened this issue Jul 10, 2015 · 5 comments · Fixed by #1341
Labels
component: select This is the name of the generic UI component, not the React module!

Comments

@patrykkopycinski
Copy link
Contributor

image

@Zadielerick
Copy link
Contributor

@patrykkopycinski This should have been fixed with #1035 and #987. Is this error seen on the docs site or on your own?

@patrykkopycinski
Copy link
Contributor Author

@Zadielerick on my own, i've tested it on recent master

@Zadielerick
Copy link
Contributor

@patrykkopycinski So, a quick fix can be to use #1116 to directly pass a style to the error field and forcefully lower it, the issue might be how you are using the component like if its inside other components or how its interacting with the page.

@salarkhan
Copy link
Contributor

Getting a similar error with floatingLabelText:
screen shot 2015-07-11 at 3 26 59 am

I'm using it inside a dialog component, if that's any help. Lemme see if it breaks on the example site.

@treo
Copy link
Contributor

treo commented Aug 5, 2015

@salarkhan, You can fix this problem by setting a value of undefined or null.
@Zadielerick The SelectField doesn't pass the errorStyle property to the textfield, so using #1116 doesn't quite work to fix the problem.

I think #1341 should fix this.

mnajdova pushed a commit to mnajdova/material-ui that referenced this issue Nov 10, 2020
@oliviertassinari oliviertassinari added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Dec 25, 2022
@zannager zannager added component: select This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: select This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants