Skip to content

Repeater field #7

Open
Open
@stancl

Description

@stancl

Should let you add any field an unlimited amount of times and remove previous values.

API:

Repeater::make('column')
    ->field(SomeField::class)
    ->storeValueUsing(function (Repeater $field, SomeField[] $fields) {
        // access the fields as an array
        // return what should be stored in the column
    })

This could also make multi image/file uploads much less of a pain!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions