Looking to hire Laravel developers? Try LaraJobs

repeatable maintained by laravelwebdev

Description
A Laravel Nova field.
Last update
2025/02/22 02:00 (dev-main)
License
Links
Downloads
2 171
Tags

Comments
comments powered by Disqus

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

Form page

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.