'3 levels dependent select using laravel and inertiajs

Everyone,

Looking for a functionality that able to do 3 levels depending select based on parent values. Which is possible by using inertiajs+vuejs with laravel?

Example: (Register form user location selection)

First: show list of countries as dropdown or select options.

Second: Regions will show only after selected a country.

Third: States depending on selection on the region.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source