Expert Laravel Nova Developer - Form Selection Help
Budget: $10 – $30 USD
Hello - looking for some quick help you wont get access to code
I'm using Laravel nova for the first time and I want to dynamically on the form get the wing/zones assigned to the "Facility" when a facility is selected.
For instance in the screenshot https://prnt.sc/22ku84j
Hagan Care Bunbury has been assigned Block A and Block be Wings/Zone but other wings display when I select Hagan Care Bunbury in the first value - i just want the relevant wings/zones to show.
What I currently Have (as per the screenshot)
Select::make('Facility', 'facility_id')
->options(\App\Models\Facilities::get()->where('org_id', '=', $user->org_id)->pluck('facility_name', 'id'))->rules('required')->onlyOnForms()->searchable(),
Select::make('Wing/Zone', 'wing_id')
->options(\App\Models\Wings::get()->pluck('wing_name', 'id'))->rules('required')->onlyOnForms()->searchable(),
If you are confident you have the solution please bid $25USD (Maximum) and be ready to provide the code on acceptance of your bid - i want to complete this within 15-30 minutes of accepting your bid.
I'm using Laravel nova for the first time and I want to dynamically on the form get the wing/zones assigned to the "Facility" when a facility is selected.
For instance in the screenshot https://prnt.sc/22ku84j
Hagan Care Bunbury has been assigned Block A and Block be Wings/Zone but other wings display when I select Hagan Care Bunbury in the first value - i just want the relevant wings/zones to show.
What I currently Have (as per the screenshot)
Select::make('Facility', 'facility_id')
->options(\App\Models\Facilities::get()->where('org_id', '=', $user->org_id)->pluck('facility_name', 'id'))->rules('required')->onlyOnForms()->searchable(),
Select::make('Wing/Zone', 'wing_id')
->options(\App\Models\Wings::get()->pluck('wing_name', 'id'))->rules('required')->onlyOnForms()->searchable(),
If you are confident you have the solution please bid $25USD (Maximum) and be ready to provide the code on acceptance of your bid - i want to complete this within 15-30 minutes of accepting your bid.