Skip to content

[FR] Allow opening creation modal from related model field #9760

Description

@wolflu05

Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find a similar feature request

Problem statement

Its always time consuming to create a new related model when I am just in a form with a related model field and I want to select the newly created.

Suggested solution

When using a RelatedModelField in PUI, this should render a + button to open an dialog and create a new related model directly from the current form without needing to go the the corresponding page and open the dialog there.

Image

Describe alternatives you've considered

Always going to the correct part in PUI where we can add the model and then try that it refetches the newly created data.

Examples of other systems

No response

Do you want to develop this?

  • I want to develop this.

Activity

  1. added
    enhancement
    triage:not-checked
    User Interface
    on Jun 11, 2025
  2. SchrodingersGat commented on Jun 11, 2025

    @SchrodingersGat
    Member

    @wolflu05 nice idea :) Not sure how easy it will be to implement but I'd support it for sure!

    You want to tackle this one?

  3. removed
    triage:not-checked
    on Jun 11, 2025
  4. added this to the horizon milestone on Jun 11, 2025
  5. wolflu05 commented on Jun 12, 2025

    @wolflu05
    MemberAuthor

    Yeah, thats the not so easy part.

    No, unfortunately I have no time to implement this now, but I hope I'll get the supplier thing done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Interfaceenhancement

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions