Closed
Description
data-prototype
does not accurately reflect the contents of the attribute. I propose the following attributes on collections for Symfony 3.0.
data-form-type='collection'
- label this form widget as a collectiondata-collection-prototype
- Stores the collection prototype stringdata-collection-prototype-name
- The prototype name. Used for label replacement.data-collection-allow-add
- The collection allows prototypes to be addeddata-collection-allow-delete
- The collection allows prototypes to be deleted