Laravel Community Tools by Tighten
Laravel Nova icon Nova Packages
This package is possibly abandoned. Please proceed with care.

Readme

Latest Version on Packagist Total Downloads License: MIT

Laravel Nova Text List Field

Create JSON text list as simple

textlist

How to use

Install package via Composer

composer require masoudi/nova-textlist-field

Cast field to array

class Post extends Model {

    protected $casts = [
        'labels' => 'array'
    ];

}

Add the TextList field at nova resource

    public function fields(NovaRequest $request)
    {
        return [
            ...

            TextList::make('Labels')->placeholder("Press enter to add"),
        ];
    }

Reviews

By vladyslav-shubyn on August 27, 2022

Usefull

Back to Top
Added 3 years ago
Last updated 3 Years Ago
Version 0.2
Composer
masoudi/nova-textlist-field
GitHub stars 3
Packagist downloads 5,142

Favorites

0 users favorited

Rating

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

Contributors

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas