Symfony 5 framework dynamic relation sample for location form ( country , city ) in the forms. City select field is changing to depend with country select.
git clone git@github.com:mehmetsoylucom/symfony-dynamic-entity-relation.git
composer install
create your .env.local file in root. add your db user/password and db name.
bin/console do:da:cr
bin/console do:mi:mi
You have to add country and cities with phpmyadmin or other manually database tools.
cd public
php -S localhost:8000