integrated/formtype-bundle

Integrated FormType Bundle

Installs: 3 773

Dependents: 4

Suggesters: 0

Security: 0

Type:symfony-bundle

0.7 2017-05-24 14:33 UTC

README

The IntegratedFormTypeBundle provides different Symfony Form Types for the Integrated project.

Documentation

The documentation is stored in the Resources/doc/index.md.

Read the Documentation

Installation

The installation instructions can be found in the documentation.

About

The IntegratedFormTypeBundle is part of the Intergrated project.

Elements

  • integrated_sortable_collection

    • javascripts are loaded with integrated asset manager
    • the sortable items should have an order field with the following configuration

      $builder->add('order', 'hidden', [

        'attr' => [
            'data-itemorder' => 'collection',
        ],
      

      ]);

      or with annotations:

      • @Type\Field(type="hidden", options={"attr"={"data-itemorder"="collection"}})