dillingham/nova-index-textarea

Extends Nova textarea for index view

1.0.2 2019-02-06 17:38 UTC

This package is auto-updated.

Last update: 2024-12-06 21:37:07 UTC


README

Latest Version on Github Total Downloads Twitter Follow

Nova package for showing textarea content on index with limits

Install

composer require dillingham/nova-index-textarea

Usage

This package adds two methods to the existing Textarea Nova field

use Laravel\Nova\Fields\Textarea;
Textarea::make('Description')->showOnIndex()->limit(10)

Options

limit($amount, $ending='...')

Sidenote

Add ->showAlways() to turn off toggling on detail