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: 2021-09-29 02:16:44 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

Author

Hi 👋, Im Brian Dillingham, creator of this Nova package and others

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: @im_brian_d