Skip to content

Inline update resource field, support text and number update

Notifications You must be signed in to change notification settings

Blueq-world/laravel-nova-inlineIndex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Add InlineIndex to your nova resources

Latest Version on Packagist Total Downloads

This package allows you to update a text field or number field of a resource in the index view (inline edit).

Install

composer require ncus/inline-index

Usage

use Ncus\InlineIndex\InlineIndex;

InlineIndex::make('name')
          ->options([
              'event' => 'blur',
              'type' => 'text',
          ])->rules('required');

Note: event default keyup.enter, type default text.