view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

[Bug Report]当Input设置type="number"时,设置maxlength无效,依然能无限输入 #1068

Open Trojanpa opened 2 years ago

Trojanpa commented 2 years ago

Environment

windows x64;Google Chrome 版本 100.0.4896.127(正式版本) (64 位);

Reproduction link

https://run.iviewui.com/TVyy1BTR

Steps to reproduce

1.进入重现链接页面; 2.点击输入框; 3.不断输入数字

What is expected?

期望设置maxlength后能限制输入长度

What is actually happening?

设置maxlength无效,依然能无限输入