Javascript Validation Simplified (Usable Outside Of Vuejs)
4
stars
6
forks
source link
Add macro method to errors prototype and setup docs for extending errors api with custom error component instance and methods. #20
Closed
zhorton34 closed 4 years ago
form.errors().macro( 'setComponent', function (is) { this.is = is; this.hasComponent = fn();
// else group of items if multiple params passed.
// else one error component if single param passed });