saumini/ellipsis-textarea

A Laravel Nova textarea field with ellipsis support

v1.0.0 2018-11-14 04:41 UTC

This package is auto-updated.

Last update: 2021-01-14 19:44:06 UTC


README

This field behaves same as Laravel Nova Textarea with addition of ellipsis support in index view.

Installation

> composer require saumini/ellipsis-textarea

Usage

use Saumini\EllipsisTextarea\EllipsisTextarea;

public function fields(Request $request)
{
    return [
        EllipsisTextarea::make('Copy')
          ->displayLength(25),
    ];
}

Default display length set to 50.

Screenshot

Screenshot 1