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

Add styles for all input types #55

Closed
vmakhaev opened this issue Nov 13, 2014 · 6 comments
Closed

Add styles for all input types #55

vmakhaev opened this issue Nov 13, 2014 · 6 comments
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.

Comments

@vmakhaev
Copy link
Contributor

At the moment only text and password types has proper styles.
number, date, time, range, color styles should be fixed.

@ButuzGOL
Copy link
Contributor

also email

@ButuzGOL
Copy link
Contributor

I want to make input with type="email" and find that http://stackoverflow.com/questions/16952526/detect-if-an-input-has-text-in-it-using-css :valid hack doesn't work. I can't find any solution so currently I decided on input change add some class 'not-empty'
what do you think or It's better to wait some css new pseudo selector ?
May be somebody knows better workaround ?

@hai-cea
Copy link
Member

hai-cea commented Dec 19, 2014

I think making a class is ok? Seems to be more explicit anyways.

@hai-cea
Copy link
Member

hai-cea commented Jan 23, 2015

The new TextField component handles all of these.

@hai-cea hai-cea closed this as completed Jan 23, 2015
@ashtonsix
Copy link

@hai-cea Think there's been some regression here - the number type looks squiff. & the up / down handles cut through the underline.

@jgoux
Copy link
Contributor

jgoux commented Mar 8, 2016

I also have the up/down arrow misplaced when using type="date" :
misplaceddate

@zannager zannager added the package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5. label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: styles Specific to @mui/styles. Legacy package, @material-ui/styled-engine is taking over in v5.
Projects
None yet
Development

No branches or pull requests

6 participants