https://github.com/blueq-world/laravel-nova-inlineindex
Inline update resource field, support text and number update
https://github.com/blueq-world/laravel-nova-inlineindex
inline-edit inline-index laravel laravel-nova nova
Last synced: 11 months ago
JSON representation
Inline update resource field, support text and number update
- Host: GitHub
- URL: https://github.com/blueq-world/laravel-nova-inlineindex
- Owner: Blueq-world
- Created: 2020-06-19T08:58:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-23T03:08:09.000Z (almost 6 years ago)
- Last Synced: 2025-04-09T00:04:48.092Z (about 1 year ago)
- Topics: inline-edit, inline-index, laravel, laravel-nova, nova
- Language: Vue
- Homepage:
- Size: 166 KB
- Stars: 6
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Add InlineIndex to your nova resources
[](https://packagist.org/packages/ncus/inline-index)
[](https://packagist.org/packages/ncus/inline-index)
This package allows you to update a text field or number field of a resource in the index view (inline edit).
## Install
```bash
composer require ncus/inline-index
```
## Usage
```php
use Ncus\InlineIndex\InlineIndex;
InlineIndex::make('name')
->options([
'event' => 'blur',
'type' => 'text',
])->rules('required');
```
Note: event default keyup.enter, type default text.