PHPackages                             ronnytorresmtz/dropdown-inline - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. ronnytorresmtz/dropdown-inline

ActiveLibrary

ronnytorresmtz/dropdown-inline
==============================

A Laravel Nova field.

1.0.10(5y ago)177MITVuePHP &gt;=7.1.0

Since Aug 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ronnytorresmtz/dropdown-inline)[ Packagist](https://packagist.org/packages/ronnytorresmtz/dropdown-inline)[ RSS](/packages/ronnytorresmtz-dropdown-inline/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (12)Used By (0)

Laravel Nova Dropdown Inline Field with One Click
=================================================

[](#laravel-nova-dropdown-inline-field-with-one-click)

This package allow you to edit a Dropdown field in the index page with `one click`

### Installation

[](#installation)

```
    composer require ronnytorresmtz/dropdown-inline

```

### Usage

[](#usage)

#### Add the field to your resource without edition

[](#add-the-field-to-your-resource-without-edition)

```
public function fields(Request $request)
{
        return [

                DropdownInline::make('Start Date')
                    ->options([
                        0 => 'Activo',
                        1 => 'No Activo',
                    ]),

        ];

}
```

To edit the Dropdown field you need to click it on.

If you press the `Esc key` or `lost the focues` the field will became not editable.

#### Add the field to your resource and allow to edit with one click

[](#add-the-field-to-your-resource-and-allow-to-edit-with-one-click)

```
public function fields(Request $request)
{
        return [

               DropdownInline::make('Start Date')
                    ->options([
                        0 => 'Activo',
                        1 => 'No Activo',
                    ])
                    ->inlineOnIndex(),

        ];

}
```

#### Show the option label instead of the value

[](#show-the-option-label-instead-of-the-value)

```
public function fields(Request $request)
{
        return [

               DropdownInline::make('Start Date')
                    ->options([
                        0 => 'Activo',
                        1 => 'No Activo',
                    ])
                    ->inlineOnIndex()
                    ->displayUsingLabels(),

        ];

}
```

`WATCH OUT: This field needs the displayUsingLabels method to be set if not the field does not work well with values.`

This method also accepts a closure with the current request if you want to make it editable dynamically:

```
public function fields()
{
    return [
         DropdownInline::make('Start Date')
                ->options([
                0 => 'Activo',
                1 => 'No Activo',
                ])
                ->displayUsingLabels()
                ->inlineOnIndex(function (NovaRequest $request) {
                        return $request->user()->isAdmin();
                }),
    ];
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~8 days

Total

11

Last Release

1922d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/415259f49fe1133f081e214ddcacf07add96edaeede05315f8e25423384aff6a?d=identicon)[Rolando Torres](/maintainers/Rolando%20Torres)

---

Top Contributors

[![ronnytorresmtz](https://avatars.githubusercontent.com/u/24813775?v=4)](https://github.com/ronnytorresmtz "ronnytorresmtz (24 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/ronnytorresmtz-dropdown-inline/health.svg)

```
[![Health](https://phpackages.com/badges/ronnytorresmtz-dropdown-inline/health.svg)](https://phpackages.com/packages/ronnytorresmtz-dropdown-inline)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
