Skip to content

Conversation

@zeezo887
Copy link
Collaborator

@zeezo887 zeezo887 commented Mar 4, 2024

Description

This allows multiple JSON repeaters to load correctly when using blade templates.

Usage:
In the form file

<x-twill::repeater
    type="type"
    name="name1"
/>
<x-twill::repeater
    type="type"
    name="name2"
/>
<x-twill::repeater
    type="type"
    name="name3"
/>

In the Repository class

protected array $jsonRepeaters = [
    'name1' => 'type',
    'name2' => 'type',
    'name3' => 'type,
];

Related Issues

Fixes #2342

@ifox ifox merged commit 5241d8e into area17:3.x May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple JSON repeaters (of the same type) in one form

2 participants