Package for laravel-admin-widgets. This package is help to make dynamic fields for laravel-admin-widgets.
Via Composer
$ composer require denis-kisel/repeator
Add service provider in the config/app.php file
/*
* Package Service Providers...
*/
DenisKisel\Repeator\RepeatorServiceProvider::class,
Put code in the app/admin/bootstrap.php file
Encore\Admin\Form::extend('repeat', DenisKisel\Repeator\Repeator::class);
In the laravel-admin-widgets files
$form->repeat('items', function (NestedForm $form) {
$form->text('item', 'Item');
});