Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore.

15 St Margarets, NY 10033
(+381) 11 123 4567



Laravel Nova Inline Select | Laravel News

Laravel Nova Inline Select is a package that allows you to change the status of a resource directly from the index or detail views.

“We have some internal resources that we manage with a small Laravel Nova project. Managing the resources was quite easy and has saved us a lot of manual work. There was however one small tool we kept wanting to reach for, but unfortunately it didn’t exist.”, Brandon Ferens said in the announcement of the package. “To update the status of a resource we would have to go to the update view, change the status, then save it. This became more cumbersome when more that one resource needed the status updated.”

Nova Inline Select solves these problems by adding a form to the list of resources and it can even auto submit when change a the value. Here is a screenshot of it in action:

How to use the Nova Inline Select

First, install the package:

composer require kirschbaum-development/nova-inline-select

Next, use the InlineSelect in your resource:

namespace AppNova;

use KirschbaumDevelopmentNovaInlineSelect;

class User extends Resource
    // ...

    public function fields(Request $request)
        return [
            // ...


            // ...

Finally, to enable the inline editing capabilities you can use the inlineOnIndex() and inlineOnDetail() methods.


For more details on this Laravel Nova package check out the Github project.

Credit: Source link

Previous Next
Test Caption
Test Description goes like this