How to add a dynamic dropdown derived from custom taxonomy

You’ll need to add the cities as a child of a state and then expose your custom taxonomies using the rest API.

After exposing it, you’ll need to fetch the cities based on the selected state.

Please let me know if you need more information.