This project showcases a Filament Select component that dynamically updates city options based on country selection in a shop registration form.
For the first select, we generate options from the DB. The first select field must be set to live()
.
The second select input makes a DB request after selecting the value in the first select.
Based on the first select, we set a placeholder for the second select input.
Here is what these two select inputs look like: