7

I would like to have a HTML 5 Input Element like:

<input type="number" step="any" value="3.5"/>

This works fine on my iPhone Safari Browser but not on Chrome for Android. It shows the right Soft-Keyboard, but not the decimal separator. So I'm not able to enter any decimal places.

Are there e.g. any JavaScript tweaks that make the chrome browser show the right keyboard?

Because it feels like a bug: Can someone point me to the Chrome for Android Issue Tracker to open up a case for this?

2
  • Had this issue too have you had any joy yet tried step="0.01" and that did not seem to work. Commented Feb 4, 2014 at 14:06
  • Same issue even on S4, I ended up installing Google keyboard it shows the decimal separator as expected. Hope Samsung or Chrome fixes this in the S5. Commented Mar 5, 2014 at 6:10

2 Answers 2

6

I got the same problem and came accross this link: Google Chrome on Android (and only Android) Does not allow Decimal with type number and step="any"

I have not yet tested on a iDevice, but i got the problem on my Samsung Galaxy SIII.

Sign up to request clarification or add additional context in comments.

Comments

0

This is not a bug, but according to the W3 specification that other browsers does not follow. The fix is supposed to be "any", but Chrome hasn't implemented that either.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.