Skip to content
This repository was archived by the owner on May 14, 2026. It is now read-only.
This repository was archived by the owner on May 14, 2026. It is now read-only.

Fieldset Repeater: need to be able to track deletion of existing fieldsets #3

Description

@chrsgrrtt

Scenario: I come back to edit an invoice and want to destroy an existing associated line item. Simply removing the fields won't have an impact on a framework like rails.

The rails convention to handle this is:

<input type="hidden" name="invoice[line_items_attributes][{{{id}}}][_destroy]" value="" />

But this needs to be flexible, so it might need to be driven by a <template />.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions