ui-mask icon indicating copy to clipboard operation
ui-mask copied to clipboard

Input type "number" does not work

Open arikanmstf opened this issue 7 years ago • 2 comments

<input ui-mask="99.99" ng-model="someController.modelName" pattern="[0-9]*" class="some-class" type="number">

Hello, i want work this mark, so in Iphone devices there will be numeric keyboard. but error :

Error: Failed to read the 'selectionStart' property from 'HTMLInputElement': The input element's type ('number') does not support selection.

please do not tell me to use input type text, i have to use number

arikanmstf avatar May 04 '17 06:05 arikanmstf

I have experienced the same issue. Only works when set to input type text...

JosephMart avatar May 10 '17 16:05 JosephMart

@JosephMart @arikanmstf try with type="tel"

paredesivan avatar Feb 07 '18 18:02 paredesivan