Skip to content

Output field validations into ng-messages  #9

@curiosity26

Description

@curiosity26

When rendering a form widget, get all of validations associated with the field and their respective messages. Wrap each message in a {trans} tag using the translation_domain of the form.

Currently, only required messages are output in ng-messages and with a fixed message. In order to override, you have to override the form template or the form_widget block.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions