Skip to content

delete button shows up only once in django formset that is created with queryset to edit #192

@irfanharunk

Description

@irfanharunk

I've manually created a form template because of couple of css constraints i was facing in my project.

when formset is being used for create operation, I get the remove button against each form and add another button at the end of the form. both the button work as expected.
on click the add another button, new form is createad with class "dynamic-form".

however, when using the same for edit operation, the remove button is loaded only once against the first form.
though the data gets populated in the rest of the forms but the remove button is missing.
also, the forms that get created do not have class "dynamic-form"

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