Relation manager form

Hi, is it possible to show resource form with relation manager in modal, like simple form without relation?
6 Replies
Dennis Koch
Dennis Koch4mo ago
No, you can't show relation managers in modals.
sergejs_r
sergejs_r4mo ago
thanks for answer
Tankberry
Tankberry3mo ago
@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?
Dennis Koch
Dennis Koch3mo ago
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?
Tankberry
Tankberry3mo ago
@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
Dennis Koch
Dennis Koch3mo ago
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.