6
I learned to do this with fixed values, example:
@Annotation\Type("Zend\Form\Element\Select")
@Annotation\Options({"label":"Cidade"})
@Annotation\Attributes({"options":{"1":"São Paulo","2":"Rio de Janeiro"}})
However, how I put this option to display data from a database table, such as cities table?
And in the case of a checkbox, it would be the same?
knows when the zend will flip blades?
– rafaelphp