Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to hide “Create & Add Another” button by condition #1620

Closed
4n70w4 opened this issue May 22, 2019 · 4 comments
Closed

Ability to hide “Create & Add Another” button by condition #1620

4n70w4 opened this issue May 22, 2019 · 4 comments
Labels
request Feature Request

Comments

@4n70w4
Copy link

4n70w4 commented May 22, 2019

image

@jangidgirish
Copy link

I also see, can it be deleted?

@lotfull
Copy link

lotfull commented Jul 30, 2019

@4n70w4 @jangidgirish, this can be easily done using custom CSS:

  1. Create public/css/custom.css with next lines:
button[dusk='update-and-continue-editing-button'], button[dusk='create-and-add-another-button'] {
    display: none;
}
  1. Install custom.css in NovaServiceProvider.php:
public function boot()
    {
        parent::boot();
        Nova::style('custom-fields-css', public_path('css/custom.css'));
    }
  1. ENJOY!

@jbrooksuk
Copy link
Member

Hey there! In order to keep this repository focused on bug reports, we auto-close feature requests and requests for help. Feel free to post your feature requests so others can discuss and add reactions. We'll keep an eye on them for later planning.

@bcoelhodev
Copy link

How can I hide "Create & Add Another" only a specific resource?

@laravel laravel locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
request Feature Request
Projects
None yet
Development

No branches or pull requests

5 participants