A Laravel Nova textarea field with ellipsis support

A Laravel Nova textarea field with ellipsis support

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 SauminiEllipsisTextareaEllipsisTextarea;

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

Default display length set to 50.

Screenshot

Screenshot 1

Source

Add a Comment

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *