bug #2869 Support for "required" tag attribute in EasyAdminAutocompleteType (liarco)
bug #2869 Support for "required" tag attribute in EasyAdminAutocompleteType (liarco)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

Support for "required" tag attribute in EasyAdminAutocompleteType

I'm not sure this is the right solution, but autocomplete fields do not have their "required" attribute set when the entity field is not nullable (input label is flagged with the red-dot, but form validation on submit ignores the input value). With this change it seems to work as intended.

Commits
-------

e5c385db Support for "required" tag attribute

OskarStark/EasyAdminBundle,javiereguiluz/EasyAdminBundle,javiereguiluz/EasyAdminBundle,OskarStark/EasyAdminBundle,OskarStark/EasyAdminBundle