-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdMaxlength: Always invalid for input type="number" #5321
Comments
For clarification, the hourly rate input in the linked demo will always be invalid. |
@aaronPMorabito We are talking about whether or not We are planning to update the demo to not use |
@topherfangio is this fixed? |
@EladBezalel This is partially fixed, we have removed the Was hoping to get some more feedback from @aaronPMorabito on how it might be used to see if we want to support it. I say we close it for now and we can reopen if we get more feedback unless @ThomasBurleson gave it a P1 for a different reason. |
@topherfangio I was only using it since it was in the demo and I thought it was fancy. I noticed that it was always causing validation errors when used in combination with |
Why would you exclude such a function specifically for You force me and many others to use |
@bitbytebot We haven't specifically excluded this, it's just that based on the feedback above, we didn't see it as a high priority bug since we didn't see a good use-case. If you have a valid use-case, please do share and we can discuss reopening it. Also, is Thanks! |
@topherfangio I have a use for it, but now I'm using I built a configurator for vehicle registration plates which have a maximum amount of number combinations (3). So this is a needed component, for me at least. I can think of multiple use-cases for this:
I could think of couple more. But there is definitely a use for it. |
not working mdinput in IE10 <input mdInput type="number" onkeypress="return event.code !='NumpadDecimal' && event.code!='Period'" [step]="10" [max]="100" [min]="0"> in chrome m getting the desired output as we press up down arrows it inputfield text jumps to 10 ( as step is=10 ) but same is not working in IE10 and IE11. kindly suggest the resolve the same. do i need to update my polyfills... |
An input flagged with type="number" and md-maxlength="#" will always have a validation error.
Can be seen in this example under 'Errors': https://material.angularjs.org/latest/demo/input
Material Design v 1.0.0-rc1
The text was updated successfully, but these errors were encountered: