Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
M

Multiline Text Field

Readme

Nova Multiline Field

Latest Version on Packagist Total Downloads

Sample Sample

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.

Back to Top
Added 7 years ago
Last updated 7 Years Ago
Version 0.0.1
Composer
orlyapps/nova-multiline-text
GitHub stars 7
Packagist downloads 137,058

Favorites

11 users favorited

Rating

5.00
(out of 5)
★★★★★
★★★★
★★★
★★
4 ratings

Author

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas