Skip to content

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

@chrhsmt

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

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