Iview: inputNumber组件可以去掉默认值吗?

Created on 28 Aug 2017  ·  3Comments  ·  Source: iview/iview

Most helpful comment

如果设置默认值为null的话,我的输入的值就会变成默认值,如果手动按delete键把那个值删除掉,组件一blur,值就会变回我后来输入的那个值,不得不说这个组件的特性挺让人无语的

All 3 comments

值设置成null就是空的了

如果设置默认值为null的话,我的输入的值就会变成默认值,如果手动按delete键把那个值删除掉,组件一blur,值就会变回我后来输入的那个值,不得不说这个组件的特性挺让人无语的

是的,我现在也遇到一样的问题,你们知道怎么解决吗?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lvqingan picture lvqingan  ·  3Comments

hellomrbigshot picture hellomrbigshot  ·  3Comments

animabear picture animabear  ·  3Comments

agileago picture agileago  ·  3Comments

lichinlichin picture lichinlichin  ·  3Comments