-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3 or more dependend selects > not resetting correctly #11
Comments
code? |
\Laravel\Nova\Fields\BelongsTo::make('Distributor', 'distributor', DistributorResource::class)
->rules('required');
\NovaAjaxSelect\AjaxSelect::make('Client', 'client_id')
->get(config('nova.path') . "/orglevel/distributors/{distributor}/clients")
->parent('distributor');
\NovaAjaxSelect\AjaxSelect::make('Location', 'location_id')
->get(config('nova.path') . "/orglevel/clients/{client_id}/locations")
->parent('client_id');
\NovaAjaxSelect\AjaxSelect::make('Department', 'department_id')
->get(config('nova.path') . "/orglevel/locations/{location_id}/departments")
->parent('location_id');
\NovaAjaxSelect\AjaxSelect::make('User', 'user_id')
->get(config('nova.path') . "/orglevel/departments/{department_id}/users")
->parent('department_id'); Updated the code and changed the formatting. When i select all values and reset:
|
@dillingham If you have the time, can you confirm that this is a legit bug? Or if it's not? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got multiple selects depending on eachother. Simplified example:
client
location
department
user
User depends on department, department on location and location on client.
Bug
The text was updated successfully, but these errors were encountered: