This is an improved part of ShtumiUsefulBundle. It discontinues all of its features except the dependent select form. There are lots of new parameters and features (will be documented soon) implemented in DependentFilteredEntity.
Install using Composer:
./composer require evercodelab/dependent-select-bundle
$bundles = [
//...
new Evercode\DependentSelectBundle\DependentSelectBundle(),
];
// app/config/routing.yml
dependent_select:
resource: '@DependentSelectBundle/Resources/config/routing.xml'
twig:
...
form:
resources:
- DependentSelectBundle::fields.html.twig
<script src="http://code.jquery.com/jquery-1.9.1.min.js" type="text/javascript"></script>