-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
md-input ignores min and max values #413
Comments
Sorry, tried to find if it was reported already. Carry on :D
|
Closed via #457 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The code in question is:
vs:
I would guess this is a bug since the html5 code works?
My input is supposed to only take positive numbers (checked this in FF and Chrome):
(material is on the left, html5 is on the right):
Using arrows, I cannot make the html5 number input lower than the min value (in this case 1). It also displays as red when manually lower than the min value.
http://plnkr.co/edit/XKVHqFNNGDUDZ0S6fTHs?p=preview
To prevent negative values
Because it works in HTML 5 by default.
I am currently using the latest of Angular 2 and Material. I've tested it in Chrome and Firefox.
I have no idea how to fix... sorry.
The text was updated successfully, but these errors were encountered: