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

textareahtml.twig field validation required is not set as attrivute in html #14

Open
gitbitpi opened this issue Jan 19, 2021 · 0 comments

Comments

@gitbitpi
Copy link

I have a form textfield which is set to be required, but there is no validation, when I send the form.
When i insert
{% if field.validate.required in ['on', 'true', 1] %}required="required"{% endif %}
in to the grav-theme-bootstrap4/templates/forms/fields/textarea/textfield.html.twig everything works OK.
So it looks to me like a bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant