nova-json icon indicating copy to clipboard operation
nova-json copied to clipboard

Feature request: ability to set default rows for repeatable JSON input

Open WillyReyno opened this issue 10 months ago • 1 comments

Hello, I have a feature request which I couldn't find in your README.

Would it be possible to add a way to open a set of rows by default?

For example:

JsonRepeatable::make('Repeatable')
                        ->fullWidth()
                        ->defaultRows(3),
                        ->fields([
                            // Fields
                        ]),

The above would create 3 rows, each containing the defined set of fields, without having to click x times on the "Add Row" div

WillyReyno avatar Mar 09 '25 18:03 WillyReyno

Hi, @WillyReyno Sorry, I don't have time to update package in near future If you make PR, i'll merge it Have a good day

stepanenko3 avatar Mar 10 '25 17:03 stepanenko3