Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我将输入字段写为type="number". 它在 iphone 上显示数字和一些特殊字符,如(,)等键盘。
type="number"
(
)
但是,如果我单击(,它会自动将其删除并仅显示数字。
我必须制作显示数字键盘的应用程序,并且不仅可以输入数字,还可以输入一些特殊字符,如(, ), white-space, ',"等。我希望你能帮助我。
white-space
'
"
PS。我正在使用cordova2.8.1
Instead of using <input> tag with type number you can use Sencha touch xtype: numberfield in following way, it would give result as u expect:
<input>
{ xtype: 'numberfield', label: 'Phone Number', labelAlign:'top', component: { xtype: 'input', type: 'tel' }, },
我收到以下错误,不知道如何修复它。Stack Overflow 上还有一些其他页面解决了类似的问题,但这些似乎并不适用,或者至少我不够精明,无法解决。
当我运行 authentication_pages_spec 时,问题似乎与使用“补丁”有关,导致以下失败。请注意,我已经尝试用“put”替换“patch”