Permalink
12653e9 Jun 7, 2012
@bamarni @genemu
24 lines (19 sloc) 515 Bytes

Use JQueryAutocomplete to Choices values

Usage:

<?php
// ...
public function buildForm(FormBuilder $builder, array $options)
{
    $builder
        ->add('choices', 'genemu_jqueryautocompleter_choice', array(
            'choices' => array(
                'foo' => 'Foo',
                'bar' => 'Bar'
            ),
            'multiple' => true
        ));
}

Extra

Ajax Choices