Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Input type "number" does not work #221

Open
arikanmstf opened this issue May 4, 2017 · 2 comments
Open

Input type "number" does not work #221

arikanmstf opened this issue May 4, 2017 · 2 comments

Comments

@arikanmstf
Copy link

arikanmstf commented May 4, 2017

<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

@JosephMart
Copy link

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

@paredesivan
Copy link

@JosephMart @arikanmstf try with type="tel"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants