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:Jump to solution
Yes. Those modals are just actions, too. You should be able to add this to the Edit and CreateAction
2 Replies
Solution
Yes. Those modals are just actions, too. You should be able to add this to the Edit and CreateAction
Solved! My bad, I was trying in the form() method after schema()