This is a migrated thread and some comments may be shown as answers.

problem with input type = number

3 Answers 322 Views
HTML5, CSS, JavaScript
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roger
Top achievements
Rank 1
Roger asked on 17 Sep 2013, 12:10 AM
Hi,
I have a list that uses "<input type=number" as a template ..this works fine in Google chrome and also in the Icenium emulator and looks like a text box with up/down spinners. When turned into an Android app it appears as a read only text box...no keyboard shows when pressed and they are totally useless...I had something similar with an old cordova version (1.7)...is it possible to update icenium to 2.9 as currently on 2.7.

Or is there another underlying problem?

3 Answers, 1 is accepted

Sort by
0
domiSchenk
Top achievements
Rank 1
answered on 17 Sep 2013, 05:50 AM
if you're looking here http://www.quirksmode.org/html5/inputs_mobile.html,
you will see the <input type="number"> is buggy on android. and I'm not sure if it works with cordova 2.9.
0
Roger
Top achievements
Rank 1
answered on 17 Sep 2013, 06:30 AM
Hi,
yeah I saw this one so changed the input type to text with no luck...seems strange that it works in chrome but not in the emulator...looks like the fields are read-only...same for both iOS and Android emulator but I suppose they are based on the same browser base.
I am writing the html directly.
0
Roger
Top achievements
Rank 1
answered on 17 Sep 2013, 11:00 PM
Hi again, found the problem...there was a bug in the javascript framework I was using...used the latest release and all OK...can now get up the number keypad on Android and enter values.
Tags
HTML5, CSS, JavaScript
Asked by
Roger
Top achievements
Rank 1
Answers by
domiSchenk
Top achievements
Rank 1
Roger
Top achievements
Rank 1
Share this question
or