Installation
composer require chasie/nova-depend-fill
Description
Fill Laravel Nova field based on value from other field.
Usage
DependFill::make('Text')
->field(
Textarea::make('Text')
)
->dependsOn(
Select::make('Template')
->options([
1 => 'Template 1',
2 => 'Template 2',
])
)
->values([
1 => 'template 1 text',
2 => 'template 2 text'
])