[Bug Report] cascader and form collocation appear, prompt does not disappear
Element UI version
1.4.7
OS/Browsers version
Google Chrome 版本 61.0.3163.100(正式版本) (64 位)
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/acmemca/Lsbtonsa/1/
Steps to reproduce
cascader与form搭配使用,cascader没有默认值; 点击提交,执行检验,显示提示语,选择地址后,提示语没有消失。
What is Expected?
cascader与form搭配使用,cascader没有默认值; 点击提交,执行检验,显示提示语,选择地址后,提示语消失。
What is actually happening?
cascader与form搭配使用,cascader没有默认值; 点击提交,执行检验,显示提示语,选择地址后,提示语没有消失。
Translation of this issue:
Element UI version
1.4.7
OS/Browsers version
Google Chrome version 61.0.3163.100 (official version) (64 bits)
Vue version
2.5.2
Reproduction Link
https://jsfiddle.net/acmemca/Lsbtonsa/1/
Steps to reproduce
Cascader is used with form, and cascader has no default value;
Click Submit, execute the test, display the tooltip, select the address, the prompt does not disappear.
What is Expected?
Cascader is used with form, and cascader has no default value; Click Submit, execute the test, display the tooltip, select the address, the prompt disappears.
What is actually happening?
Cascader is used with form, and cascader has no default value;
Click Submit, execute the test, display the tooltip, select the address, the prompt does not disappear.
The value of Cascader is an array, so you should declare it in the rules: https://jsfiddle.net/Lsbtonsa/2/
Thanks.
增加了props 依旧报错!