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

Dialog Form with siblings #146

Open
amikphoto opened this issue Jun 30, 2024 · 4 comments
Open

Dialog Form with siblings #146

amikphoto opened this issue Jun 30, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@amikphoto
Copy link

amikphoto commented Jun 30, 2024

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
Copy link
Author

amikphoto commented Jul 3, 2024

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 jrief added the enhancement New feature or request label Jul 18, 2024
@jrief
Copy link
Owner

jrief commented Jul 18, 2024

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

@amikphoto
Copy link
Author

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

@amikphoto
Copy link
Author

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

Is there any progress on my problem? :)

jrief added a commit that referenced this issue Sep 4, 2024
Add demo to show how to use dialogs in collections with siblings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants