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

Enhancement - Ability to create a new related item. #21

Open
Slgoetz opened this issue Sep 24, 2020 · 1 comment
Open

Enhancement - Ability to create a new related item. #21

Slgoetz opened this issue Sep 24, 2020 · 1 comment

Comments

@Slgoetz
Copy link

Slgoetz commented Sep 24, 2020

Love this inline relation field. I was thinking it would be awesome if you could make create a new relational item inline as well.

As an example:
Say you are relating tags and you want to create a new one. Add a button to load in required fields in a modal, create the new item then add it as a relation.

@ralphschindler
Copy link
Member

My initial inclination is that request is outside the scope of this component. Generally these related (pivot models) are simply id/name/timestamps, and other times they are in fact more than that (pivot columns included). They might have their own requirements for being created that would be hard to wrap up into a modal form.

In an ideal world, Nova somehow builds in the ability to launch "create forms" in modals, I think that would solve this problem.

It's def. something I'd be interested to see if there was as simple yet flexible solution for this.. I'd entertain this if someone wanted to get a PR going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants