Hide Cancle, Create & add another, create button #6363
Replies: 1 comment
-
|
I know this is an old question at this point, but I recently had the same question. I found a solution and figured I might as well put it here for anyone in the future who might need it. And if there's a better way to do it, I'm happy to hear it. Anyway, here's what I came up with: First, create a new CSS file and then register it in the NovaServiceProvider's boot method:
In your new CSS file, use :has() and the "dusk" attributes to select the specific button you need based on the dusk value from the form panel. For instance, if your model is called "Profile" you'd do this:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions