Relation manager form
Hi,
is it possible to show resource form with relation manager in modal, like simple form without relation?
6 Replies
No, you can't show relation managers in modals.
thanks for answer
@Dennis Koch It would be extremely helpful if this restriction was mentioned in the filament's documentation!!
It took me a lot of time figuring out why the relation manager did not show up in my modal form. It does not even log and info message, as far as I saw?
There is no mention, that it is possible, right? 😅 If you think this needs to be documented, please open a PR to the correct place where you think this doc would be appropriate.
It does not even log and info message, as far as I saw?What do you mean?
@Dennis Koch I am sorry if my abrupt message came across aggressively.
Spending so much time figuring out why the relation manager didn’t show up in my editing modal just frustrated me.
I didn’t mean to bombard you 😊
I wasn’t aware that there are restrictions to modals/slideovers, therefore I assumed they offer the same features as an editing page.
Mentioning this restriction might prevent other people from running into the same issues as me. So, if you’re okay with it I might take you up on your offer and create a PR
I am sorry if my abrupt message came across aggressively.Nah, it didn't 😅
I wasn’t aware that there are restrictions to modals/slideovers,The issue is, that edit modals are forms and relation managers contain forms and you cannot nest forms in each other. Also I think it would look quite busy for a modal/slideover.