阅读背景:

仅用于输入数字的角指令。

来源:互联网 

I am creating a directive to restrict input box to accept numbers only. It should accept 1-9999999999, but no leading 0. It is working but after entering first number it is accepting all numbers and characters. Please help me to resolve this.it should accept 10, but not 01. For this my code is, to restrict input box




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: