F
Filamentβ€’16mo ago
Carlo

Customize modal width in simple resource default create and edit action

Is it possible to change the modal width inside of resource's form static method?
Solution:
Edit and Delete are in the Resource itself
Jump to solution
5 Replies
Kenneth Sese
Kenneth Seseβ€’16mo ago
You need to change the modal width on the action itself...->modalWidth('5xl') So if you're using a simple resource, the CreateAction is inside Pages/ManageResource
Solution
Kenneth Sese
Kenneth Seseβ€’16mo ago
Edit and Delete are in the Resource itself
Kenneth Sese
Kenneth Seseβ€’16mo ago
Here are your options: xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, and screen
Carlo
CarloOPβ€’16mo ago
Thank you again @archilex. I've been using the generated resource and I didn't see that there's a specific ManageResource for simple. πŸ˜…
Want results from more Discord servers?
Add your server