Skip to content

EasyAdmin Hidden Field

Edit this page

This is a very special field used to include hidden fields in the forms used to create and edit entities. You will probably never need this field, but it can help in uncommon scenarios.

Basic Information

  • PHP Class: EasyCorp\Bundle\EasyAdminBundle\Field\HiddenField
  • Doctrine DBAL Type used to store this value: anything (it depends on the value of the property used to include it as a hidden field)
  • Symfony Form Type used to render the field: HiddenType
  • Rendered as:

    1
    <input type="hidden" value="...">

Options

This field does not define any custom option.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.
TOC
    Version