Skip to content

option auto_html5_validation: false doesn't work when using model's namespace for form_for. #7

Description

@chrhsmt

I'm using auto_html5_validation: false option for form_for tag with model object namespace.
ex:
<%= form_for([:admin, @client], auto_html5_validation: false) do |f| %>
so, it doesn't work.

because
variables named 'record' is Array...
in html5_validators's form_helpers.rb L:22

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions