fixed Form reset using Input or Switch
fixed Form reset using Input or Switch
This commit is contained in:
parent
867eca350e
commit
38646a1171
2 changed files with 24 additions and 23 deletions
|
@ -189,7 +189,7 @@
|
|||
if (Array.isArray(value) && value.length > 0) {
|
||||
this.validateDisabled = true;
|
||||
prop.o[prop.k] = [];
|
||||
} else if (value) {
|
||||
} else if (value !== this.initialValue) {
|
||||
this.validateDisabled = true;
|
||||
prop.o[prop.k] = this.initialValue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue