outl1ne / nova-multiselect-field

A Laravel Nova package that adds a multiselect to Nova's arsenal of fields.
MIT License
332 stars 120 forks source link

DependsOn with api() #244

Open oseintow opened 10 months ago

oseintow commented 10 months ago

Is it possible to do something like this.

Multiselect::make('School', 'school')
            ->singleSelect(),

Multiselect::make('Course', 'course')
            ->dependsOn('school')
            ->api('schools/{school}/courses', Course::class)            
scramatte commented 8 months ago

+1 here