Multiple dropdown synchronisation

For this we use a type ParentChildSelection

type ParentChildSelection
    = NoSelection
    | ParentSelected String
    | ChildSelected String String

If you select a new country, this will become ParentSelected Greece. In that case the view will need to decide what to show for city.

After selecting a city this becomes ChildSelected Greece Athens. We keep the id of the parent here for easy lookup.