I use the easyadmin bundle in my symfony app for backend management.
I'd like to remove the label from some fields in the edit and the new view. I tried to use the same behaviour as in formbuilder :
form:
fields:
- {property: toto, label: false }
but the label is still displayed. Anyone knows the syntax to remove it ?
Some are still arguing on github to know if it has to be considered as a bug or not. Anyways a solution already exists.
Fixes
To remove the
labelineasyAdim-bundle, you need to do as for theformbuilderofSymfonywhere you can remove the label with options. To modify theformbuilderineasy-adminyou use thetype_optionsoption. It goes the same for the label :will display a
form_rowwith an empty label, without css, without Js and without empty labels