HTML 5输入类型"数"步骤= QUOT;任何" = GT;在Chrome软键盘没有小数点分隔符 [英] HTML 5 input type "number" with step="any" => No decimal separator on Chrome Soft-Keyboard

查看:201
本文介绍了HTML 5输入类型"数"步骤= QUOT;任何" = GT;在Chrome软键盘没有小数点分隔符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想有一个HTML 5输入元素,如:

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

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

这工作正常在我的iPhone Safari浏览器,但不是在Android版Chrome。
它显示了正确的软键盘,而不是小数点分隔符。所以我不
能够进入任何小数。

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.

是否有例如任何JavaScript调整,使Chrome浏览器显示
正确的键盘?

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

由于感觉就像一个错误:?可有人点我的Andr​​oid版Chrome浏览问题跟踪打开的情况下此

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

推荐答案

我得到了同样的问题,来到翻过此链接:<一个href=\"http://stackoverflow.com/questions/12514162/google-chrome-on-android-and-only-android-does-not-allow-decimal-with-type-num\">Google Android版Chrome(只有Android版)不允许使用数量型和步=&QUOT小数;任何&QUOT;

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"

我还没有测试过上的iDevice,但我得到了这个问题对我的三星Galaxy SIII。

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

这篇关于HTML 5输入类型&QUOT;数&QUOT;步骤= QUOT;任何&QUOT; = GT;在Chrome软键盘没有小数点分隔符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆