Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 447 Bytes

83_Attributes.md

File metadata and controls

13 lines (11 loc) · 447 Bytes

Form & Field Attributes

It's possible to add specific attributes to each form and each underlying field.

Change Attribute Selection

By default, attributes are available as symfony parameters, so it's easy to override them:

parameters:
    form_builder_form_attributes:
        - ['my-data-attribute','My Data Attribute']
    form_builder_field_attributes: '%form_builder_form_attributes%'