ViewUI icon indicating copy to clipboard operation
ViewUI copied to clipboard

[Bug Report]InputNumber组件在min值大于1时,组件输入两位数字会自动变为最大值

Open gmshiot opened this issue 6 years ago • 3 comments

Environment

win7 64 home/chrome83.0.4103.61/vue2.0

Reproduction link

https://run.iviewui.com/M1UeZHAI

Steps to reproduce

What is expected?

在有效值范围内正常显示,比如:输入13,显示13,而不是40,输入23,显示23,而不是40

What is actually happening?

最大值40

gmshiot avatar May 28 '20 13:05 gmshiot

刚测试是正常的,你应该是先输入了小于40的数字后又有输入数字吧

lxj665294 avatar Jun 05 '20 05:06 lxj665294

?你是怎么测的,我在官网的组件测试页测试都有问题,地址:https://iviewui.com/components/input-number 点击第一个代码示例的“在 iView Run 中打开”图标,打开测试页,修改参数,输入值进行测试看看

gmshiot avatar Jun 08 '20 14:06 gmshiot

我也遇到了这个问题,应该是change 时校验的问题,目前的解决方案是设置 active-change 属性值

shizhihuaxu avatar Jan 04 '21 02:01 shizhihuaxu