jrief / django-formset

The missing widgets and form manipulation library for Django
https://django-formset.fly.dev/
MIT License
315 stars 29 forks source link

Dialog Form with siblings #146

Open amikphoto opened 1 month ago

amikphoto commented 1 month ago

First of all I would like to thank you for your fast work with 1.5 version of Formset. I've just started testing it for my application. I use form with siblings and every sibling has a foreign key field. I don't undestand how to set activator for such configuration. How can I set names of sibling forms in "induce_open"? Does the Dialog Form work with siblings?

Thank you

amikphoto commented 1 month ago

in your Help we see how to activate the dialog form ( induce_open = 'issue.edit_reporter:active || issue.add_reporter:active') It works great when I know names of forms fields exactly. For example - edit_reporter or add_reporter. But when I use siblings my fields names are generated and how I should set it in induce_open?

jrief commented 1 month ago

I'll try to find a solution for you. Might take some time however. Sorry for the inconvenience.

amikphoto commented 1 month ago

Thank you so much. I'm waiting for your help but don't worry about it. I can wait all the time you need. :)