Skip to content

Implementing FormCollection w/ Many-to-One Relation, Selectize Widget, and Dynamic Form Fields #141

Answered by jrief
omarcoming asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm, interesting use case.

I see that django-formset is now being used in areas beyond its initial intention. I the future I might integrate it into frameworks such as django-unicorn or HTMX. There have been others asking for this already. Anyway, since each formset holds its own scope (always updated to latest current field values), this could be used as a context for client-side rendering templates.

Currently I don't have a short term solution for you. I would have to tinker myself around this.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by omarcoming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants