vue-dotnet-validator
Version:
A vuejs validator for .NET forms.
17 lines (14 loc) • 358 B
JavaScript
/**
* This class contains the basic api of a custom validator on the portal site.
*/
export default class BaseValidator {
constructor(message, dataAttributes, validatorGroup) {
this.message = message;
this.attributes = dataAttributes;
this.validatorGroup = validatorGroup;
}
getMessage() {
return this.message;
}
isValid() {}
}