Change the size of RelationManager's create/edit modal?

I have a RelationManager created to manage Product assets. I've done my form with ID (hidden), name, type, file and is_primary (bool). I've arranged the form to 1 column, but I'd like to change modal width so the fields don't show so long. When talking about Actions, you can change the width of the modal by using the modalWidth() method. Is this posible in a RelationManager's create/edit modal?
Solution:
Yes. Those modals are just actions, too. You should be able to add this to the Edit and CreateAction
Jump to solution
2 Replies
Solution
Dennis Koch
Dennis Koch2mo ago
Yes. Those modals are just actions, too. You should be able to add this to the Edit and CreateAction
victorcamposramirez
Solved! My bad, I was trying in the form() method after schema()

Did you find this page helpful?