Edit action not working on relation manager
I created a relations manager on my resource. But when I click the edit action, it just shows the "saved" notification instead of showing a modal and edit the record. I followed the demo, and it was working there perfectly. Is there any aditional code to thinker before it works?
Solution:Jump to solution
That's usually when you have created an action without a form. But EditActions are native if using EditAction and not Action.
5 Replies
Solution
That's usually when you have created an action without a form. But EditActions are native if using EditAction and not Action.
Yes i did.
It is all generated when I created the relation manager. Since I can create, it means I already have a form. but the edit action is just not showing, it just show a notification "saved" if i press the edit action
Did you add an ->action() parameter too?
Sorry, I did added a ->hiddenOn('edit') method, and I overlooked into it. Now it works, Im so sorry!
Can you help me also on this one?https://ptb.discord.com/channels/883083792112300104/1168875095415062600