Environment
window10/chrome/vue
Reproduction link
https://run.iviewui.com/PzbC7rqa
Steps to reproduce
当有默认值时,获取焦点然后再失去焦点,默认值会被清空。(改问题只会在render函数中出现,也就是使用render嵌套在table中)
What is expected?
获取焦点然后再失去焦点,在没有重新选择的情况下默认值是不应该被清空的!
What is actually happening?
当有默认值时,获取焦点然后再失去焦点,默认值会被清空
2条答案
按热度按时间huus2vyu1#
Translation of this issue:
Environment
Windows 10/chrome
Reproduction link
https://run.iviewui.com/PzbC7rqa
Steps to reproduce
When there is a default value, the focus is obtained and then lost, and the default value is cleared. (Changing problems only occur in render functions, i.e. using render to nest in tables)
What is expected?
Get focus and then lose focus. The default value should not be emptied without re-selection!
What is actually happening?
When there is a default value, get the focus and then lose the focus. The default value will be cleared.
ijxebb2r2#
the same problem! not only in the tables.