How to enable browser validation/disable novalidate with simple form

230 views Asked by At

How do I enable browser validation with the simple form gem for Rails? The novalidate attribute is set on my forms now that I use simple form.

1

There are 1 answers

0
Dennis Hackethal On

In the initializer simple_form.rb which the gem generated for you, set config.browser_validations to true.