MS Edge中的HTML5数值输入将附加占位符文本 [英] HTML5 Numeric input in MS Edge appends the placeholder text
本文介绍了MS Edge中的HTML5数值输入将附加占位符文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
仅在ME Edge条目中添加了无效的数字输入
An invalid numeric input in ME Edge entry just get appended,
<input type="number" placeholder="Enter Value" />
在输入非数字或输入减号后会添加占位符文本:
On entering non-numeric, or entering a minus appends with the placeholder text:
如何避免这种情况?
推荐答案
This is a known bug reported on the Edge issue tracker as "Incorrect behaviour of placeholder text in a text field 'number' when typing letters".
这篇关于MS Edge中的HTML5数值输入将附加占位符文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文