How do you adjust the modal's max width in a ModelResource's default create?
I can change the modal's max width in the table action but I cannot figure it out how to adjust the default modal create
Solution:Jump to solution
CreateAction()->modalWidth('5xl')
https://beta.filamentphp.com/docs/3.x/actions/modals#changing-the-modal-width
same for v2...3 Replies
Solution
CreateAction()->modalWidth('5xl')
https://beta.filamentphp.com/docs/3.x/actions/modals#changing-the-modal-width
same for v2Hi @awcodes, thanks for responding 🙂
That works if I'm inside the table action but I cannot make it work inside the default create form there is no modalWidth() method here so I'm not sure how to adjust it from here. Any idea how?
![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1133216932896710796/ss.png)
It has to be on an action. And forms aren’t actions.