Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output field validations into ng-messages #9

Open
curiosity26 opened this issue Apr 2, 2017 · 0 comments
Open

Output field validations into ng-messages #9

curiosity26 opened this issue Apr 2, 2017 · 0 comments
Milestone

Comments

@curiosity26
Copy link
Owner

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.

@curiosity26 curiosity26 added this to the v1.0.0 milestone Apr 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant