nova-json
nova-json copied to clipboard
Default attribute ignored on fields
Hello and thanks for this package!
I noticed that default attribute allowing to set a default value to a field are ignored when used inside JsonRepeatable:
JsonRepeatable::make('Providers', 'providers')
->fullWidth()
->hideFromIndex()
->hideWhenCreating()
->fields([
Text::make('Name', 'name')
->default('My default value')
->rules(['required']),
]),
I would expect my Name field to be filled with "My default value" but remains empty.
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