[英]HTML5 - Android Tablet - INPUT TYPE NUMBER
Good night guys, 晚安伙计们,
I am using input type with numbers, but the field is a currency value with comma and point. 我使用带数字的输入类型,但该字段是带逗号和点的货币值。 More Android opens the keyboard with only numbers without comma or point.
更多的Android打开键盘,只有数字没有逗号或点。
Example error on Galaxy Tab 10.1 Galaxy Tab 10.1上的示例错误
http://pastie.org/5063487 http://pastie.org/5063487
or 要么
尝试使用<input type="number" step="any" />
可以在此处找到进一步的说明
I had already tested this solution, even using pattern without result. 我已经测试了这个解决方案,即使使用没有结果的模式。 When I try to tell dot or comma, simply runs out of action.
当我试图告诉点或逗号时,只是没有动作。
Examples: 例子:
<input type="text" name="test" pattern="\d*" />
<input type="number" step="0.01" pattern="\d+(\.\d*)?">
<input type="number" min="0" max="999" step="0.000001" pattern="\d+(\.\d*)?" />
Ahh i using Android 3.2 em Samsung Tab 10.1 啊,我使用Android 3.2 em三星Tab 10.1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.