Is there any default way to make Sonata Admin generate form fields for mysql enums as a choice of some sort? Radio buttons, select, whatever, i.e. not a text field where user can enter whatever he wants? It treats them like strings now, rendering input text field.
I have my enums defined this way:
myProperty:
type: enum
length: 10
column: my_property
columnDefinition: ENUM('yeah', 'whatever')
and they are "real" enums, i.e. my_property column is of mySQL enum type in the database.
I'd prefer a solution that doesn't require me to hardcode enum values into Sonata's Admin.php file, if possible...