orlyapps / nova-multiline-text
A Laravel Nova field.
Installs: 87 356
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 1
Forks: 1
Open Issues: 4
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-09-24 17:32:26 UTC
README
Installation
You can install the package in to a Laravel app that uses Nova via composer:
composer require orlyapps/nova-multiline-text
Usage
Use this field in your Nova Resource
// ... use Orlyapps\NovaMultilineText\MultilineText; // ... public function fields(Request $request) { return [ ID::make()->sortable(), MultilineText::make('Company', function () { return [$this->company->name, $this->department->name, $this->location->name]; }), MultilineText::make('Company', function () { return ['First Line highlighted', 'Second Line', 'Lorem Ipsum']; }), MultilineText::make('Company', function () { return ['First Line', 'Second Line', 'Lorem Ipsum']; })->highlightFirst(false), ]; }
Security
If you discover any security related issues, please email info@orlyapps.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.