Skip to content

When created inside display:none div and shown later the delete buttons are not available #136

@owenfi

Description

@owenfi

I have a form that dynamically shows a section to fill in a bunch of names (or whatever) and it only shows up if a certain flow is taken in the earlier part of the form.

To show the name section I'm using:

document.getElementById('attending').style.display = '';

while it started as display: none;

This seems to cause an issue with the add/delete buttons from this project. If I move my formset out of the hidden section it works as expected. If I put it back inside the add button appears and works, but I can't delete rows :(

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions