Good, I have problems making select dependent on another. I've tried with:
But I have not managed to make it work, the problem is that they relate to several entities but what I want is to relate to a single entity.
These two variables I need to create a form where they are select. Both will have information of two variables of an entity. But one depends on another (version depends on year), where there will be several versions but each one is one year old. Versions related to the year are displayed.
/**
* @var string
*
* @ORM\Column(name="año", type="string", nullable=true)
*/
private $anio;
/**
* @var string
*
* @ORM\Column(name="version", type="string", nullable=true)
*/
private $version;