collectViolationFieldRules
collectViolationFieldRules(
violation):FieldRules[]
Collects the field rules from a violation. This is a helper function to extract the field rules from a violation, which can then be used to display error messages in the Angular form controls.
Parameters
Section titled “Parameters”violation
Section titled “violation”Violation
Returns
Section titled “Returns”FieldRules[]