Aurelia Validation


#1

ValidationRules
.ensure((m: App) => m.firstName).required()
.ensure((m: App) => m.lastName).required()

If a validation rule has the .required() on the end, is there anyway to run a if statement on all validationRules that have the .required() and carry out an action on said fields?