How to enable browser validation/disable novalidate with simple form

Viewed 39

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 Answers

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

Related