JenningFan opened a new issue #2061: input控件在weex playground app和官网web端playground表现不一致 URL: https://github.com/apache/incubator-weex/issues/2061 ## Describe the bug playground链接: http://dotwe.org/vue/31e7dfa04c60ff3b78aaae526d971374 1、web端打开上面链接,只要输入大于999的值,input控件都只会显示999,如下图: ![image](https://user-images.githubusercontent.com/22371994/51365620-1a8d1a80-1b1c-11e9-9da0-89509d6191d3.png) 2、打开weex playground app,扫码上面链接提供的二维码,输入大于999的值,input控件可以显示大于999的值,如下图: ![image](https://user-images.githubusercontent.com/22371994/51365639-2d075400-1b1c-11e9-9aa5-81d2ebc4e76e.png) ## Environment app端: ![image](https://user-images.githubusercontent.com/22371994/51365648-385a7f80-1b1c-11e9-963a-946317ef670a.png) PC端:Chrome ## Expected behavior 希望实现的效果是:当用户在上input控件输入的值大于999时,input控件内的值只会显示999 ## others: 如果将上面链接中oninput里面用setTimeout去赋值,app端就生效了 ```JavaScript oninput: function (event) { if (event.value > 999) { setTimeout(() => { this.txtInput = 999 }) } else { this.txtInput = event.value; } }, ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services