Hi. Is there a way to quickly add attribute depending on Validators we set on a field? Like there is a PresenceOf validators so the field will render with required attributes. Or we set a regex, the field render with a pattern attributes.
This could help me doing some first validation" in js.
Thanks