Nova 5 Repeatable
This Laravel Nova package allows you to create simple horizontal rows of fields that the user can add/remove.
Requirements
php: >=8.0
laravel/nova: ^5.0
Features
A Laravel Nova simple repeatable rows field.
Screenshots
Installation
Install the package in to a Laravel app that uses Nova via composer:
composer require laravelwebdev/repeatable
Usage
use Laravelwebdev\Repeatable\Repeatable;
public function fields(Request $request) {
Repeatable::make('Users', 'users', [
Text::make('First name'),
Text::make('Last name'),
Email::make('Email'),
])
->canAddRows(true) // Optional, true by default
->canDeleteRows(true), // Optional, true by default
}
Credits
License
Nova Simple Repeatable is open-sourced software licensed under the MIT license.