ishanvyas22 / cakephpvue-spa

Documentation comments not found for functions and classes JS-D1001
Documentation
Minor
4 months ago4 months old
Documentation comment not found for method definition any
25        delete this.errors[field];
26    }
27
28    any() {29        return Object.keys(this.errors).length > 0;
30    }
31};
Documentation comment not found for method definition clear
21        return false;
22    }
23
24    clear(field) {25        delete this.errors[field];
26    }
27
Documentation comment not found for method definition has
13        }
14    }
15
16    has(field) {17        if (this.errors[field]) {
18            return true;
19        }
Documentation comment not found for method definition get
 7        this.errors = errors;
 8    }
 9
10    get(field) {11        if (this.errors[field]) {
12            return this.errors[field];
13        }
Documentation comment not found for method definition add
 3        this.errors = {};
 4    }
 5
 6    add(errors) { 7        this.errors = errors;
 8    }
 9