Open SlivaNilow opened 5 years ago
It is possible to add validation rules after loading a set of fields. For example, if the set of fields depends on the select.
Need create method
validate: function() { this.$setValidators(this.getValidatorRules()); this.$validate(); }
where getValidatorRules return object
{ 'fieldName1' => function(){}, 'fieldName2' => function(){}, }
It is possible to add validation rules after loading a set of fields. For example, if the set of fields depends on the select.
Need create method
where getValidatorRules return object