三星智能手机是什么型号有遗漏期为HTML5输入类型="数量"? [英] What models of Samsung smartphones have missing period for html5 input type="number"?

查看:171
本文介绍了三星智能手机是什么型号有遗漏期为HTML5输入类型="数量"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HTML5有一个名为数字一个新的输入类型。在大多数的移动智能手机这带来了数字小键盘。在pre-HTML5的手机类型回落到文,我们都OK。然而,在某些机型上的数字小键盘的没有一段时间,没有人可以单击符号按钮,添加一个。已知的模型这一缺陷是:

HTML5 has a new input type named "number". On most mobile smartphones this brings up a numeric keypad. On pre-html5 phones the type falls back to "text" and we are OK. Yet, on some models the numeric keypad does not have a period and one cannot click the "symbols" button to add one. Known models with this flaw are:

  • 三星Galaxy S4,请参见:<一href="http://stackoverflow.com/questions/19433745/missing-period-for-samsung-galaxy-s4-numeric-keypad">Missing期间三星Galaxy S4的数字小键盘
  • 在三星Galaxy Note II
  • 三星Galaxy Tab 2 10看:<一href="http://stackoverflow.com/questions/11134903/samsung-galaxy-tablet-does-not-allow-entering-floating-point-numbers-to-inputs-w?rq=1">Samsung银河平板不允许输入到输入与&QUOT浮点数字;数字&QUOT;键入
  • ????
  • Samsung Galaxy S4, see: Missing period for Samsung Galaxy S4 numeric keypad
  • Samsung Galaxy Note II
  • Samsung Galaxy Tab 2 10". see: Samsung Galaxy Tablet does not allow entering floating point numbers to inputs with "number" type
  • ????

还有哪些车型?较早的三星Android 2.2的手机没有这个问题。其他Android设备,如彩蝶标签没有这个问题。我读银河S3并没有这个问题。

What other models? Older Samsung Android 2.2 phone does not have this problem. Other Android devices such as Nabi Tab do not have this problem. I read the Galaxy S3 did not have this problem.

请参阅相关的讨论:

  • <一个href="http://stackoverflow.com/questions/15421264/input-type-number-in-firefox-why-doesnt-mozilla-support-number-inputs-in-i"><input类型=&QUOT;数量&QUOT;&GT;在Firefox浏览器。为什么它的浏览器不支持Mozilla的一些投入?
  • <一个href="http://stackoverflow.com/questions/10521445/html5-input-number-and-incompatible-browsers">HTML5 - 输入=号和不兼容的浏览器
  • HTML5输入类型号VS电话
  • <input type="number"> in Firefox. Why doesn't Mozilla support number inputs in its browser?
  • HTML5 - input=number and incompatible browsers
  • HTML5 input type number vs tel

此外,没有注意到那些是输入类型=电话,同样可以为iPad,但作为替代一些在iPhone上无法正常工作。所以,web应用程序必须确定设备型号,否则诉诸输入类型=文本

Also, not noted on those is that input type="tel" works fine for iPad but does not work as a replacement for number on an iPhone. So, a webapp must determine the device model or else resort to input type="text".

什么手机和平板电脑型号不正确跨preT 输入类型=数字作为一个整体,非十进制输入键盘?

What phone and tablet models incorrectly interpret input type="number" as a whole, non-decimal input keyboard?

推荐答案

我发现了一个变通针对此问题。它适用于我的三星Galaxy S2手机,我怀疑这将工作从数字键盘上的失踪小数点问题遭受的所有三星设备。希望与其他人不同的三星设备可以检查此解决方案,并报告了他们的发现。

I have discovered a work around for this problem. It works for my Samsung Galaxy S2 phone and I suspect it will work for all Samsung devices that suffer from the "missing decimal point" problem on the numeric keyboard. Hopefully others with different Samsung devices can check this solution and report their findings.

不幸的是,它是一个基于客户端(手机拥有者)解决方案,因此它并没有真正从一个web开发人员的角度来看帮助。这里是为我工作的解决方案:

Unfortunately, it is a client based (phone owner) solution so it does not really help from a web developer standpoint. Here is the solution that worked for me:

  1. 而在菜单图标,浏览器点击(左下手机)
  2. 选择设置
  3. 选择隐私和安全
  4. 向下滚动并取消选中记住表单数据,然后选择清除表单数据
  5. 单击OK确认

以下此过程后,在数字键盘应显示标记的一个额外的按钮.- 即,同时用于减号和小数点相同的按钮。双击该按钮来获得一个减号(提供的字段目前是空的)和单一的点击来获得一个小数点。

After following this procedure, the numeric keypad should show an extra button labelled .- That is, the same button is used for both minus signs and decimal points. Double-click this button to get a minus sign (provided the field is currently empty) and single click to get a decimal point.

这篇关于三星智能手机是什么型号有遗漏期为HTML5输入类型=&QUOT;数量&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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