Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add another at any position #1573

Closed
janno42 opened this issue Mar 14, 2021 · 2 comments
Closed

Add another at any position #1573

janno42 opened this issue Mar 14, 2021 · 2 comments
Assignees
Labels
[C] Backend Focuses on backend implementation [C] Frontend Focuses on frontend implementation [P] Medium Medium priority

Comments

@janno42
Copy link
Member

janno42 commented Mar 14, 2021

Currently, additional form entries can be added only at the end of formsets by clicking "add another".
For all sortable forms, this should be possible at any position to faster create new entries at the dedicated position.

@janno42 janno42 added [C] Backend Focuses on backend implementation [C] Frontend Focuses on frontend implementation [P] Medium Medium priority labels Mar 14, 2021
@rgwohlbold
Copy link
Collaborator

I have looked into this issue. For dynamically creating forms in formsets, we use django-dynamic-formset. The position of "add another" is hardcoded there. After talking to @janno42, we decided that a custom solution on top of this library is probably not worth it. Therefore, we will not implement this feature at this time.

@janno42 janno42 closed this as completed Oct 11, 2021
@richardebeling
Copy link
Member

There is an issue for django-dynamic-formset: elo80ka/django-dynamic-formset#159
However, they seem to currently be unmaintained.
Some people have suggested to transfer the project to jazzband in elo80ka/django-dynamic-formset#156, but it doesn't look like there's a lot happening there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C] Backend Focuses on backend implementation [C] Frontend Focuses on frontend implementation [P] Medium Medium priority
Development

No branches or pull requests

3 participants