saumini / ellipsis-textarea
A Laravel Nova textarea field with ellipsis support
Installs: 118 329
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 2
Forks: 0
Open Issues: 4
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-11-15 03:45:53 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.