HTML 5输入类型"数"步骤= QUOT;任何" = GT;在Chrome软键盘没有小数点分隔符小数点、步骤、键盘、类型

2023-09-08 10:18:36 作者:越长大越孤单

我想有一个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?

推荐答案

我得到了同样的问题,来到翻过此链接: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.