Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

nested_form shows extra fields after error messages #368

Description

@Mingus85

I'm using simple_nested_form_for to build a form with nested fields. When I press submit, I get the correct params hash, and validation seems to work. When after some validations do not pass I re-render the form via the create action, however, the nested fields are displayed incorrectly. The same nested fields are shown multiple times.

Also, in my simple_fields_for the FormBuilder index is shown as a semi random number such as 1454793731550, whereas after re-rendering it is displayed in normal increments 0-n.

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