I have a simple form, I have made the name field required, however, I am still able to submit this form without providing a name. The HTML validations are not kicking in.
<%= simple_form_for @company do |f| %>
<%= f.input :name, required: true %>
<%= f.button :submit %>
<% end %>
Is there something wrong with the simple form syntax here?