How do I use fetch on a custom page to populate a relationship field? #1080
Unanswered
fronbow
asked this question in
Q&A (Help)
Replies: 1 comment 1 reply
-
Hey @fronbow What I understand from your text is you are:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey All
So, I've got a custom admin page that I want to be able to use a relationship field on:

My idea is to use the form at the top of the page to populate the rows underneath but I can't seem to get the relationship field to populate?
(That current row is just a dummy, when in production it will be blank until clients are added using the form at the top of the page)
Given that it's a Controller and not a CrudController, how would I utilise the
use \Backpack\CRUD\app\Http\Controllers\Operations\FetchOperation;
operation...if it's even possible?(FWIW, I tried doing it in a modal but the select2 field seems to have a baked-in z-index that puts it behind the modal instead of in front!! But the relationship field shows up there, or seems to)
Cheers for any help or enlightenment!
Beta Was this translation helpful? Give feedback.
All reactions