2017 © Pedro Peláez
 

symfony-bundle ajaxcomplete-bundle

Symfony AjaxCompleteBundle

image

pcdummy/ajaxcomplete-bundle

Symfony AjaxCompleteBundle

  • Friday, July 19, 2013
  • by pcdummy
  • Repository
  • 0 Watchers
  • 2 Stars
  • 100 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PcdummyAjaxCompleteBundle - adds some ajax to sonata-doctrine-orm-admin

This bundle adds 2 new ajax enabled widgets for the sonata-admin., (*1)

pcdummy_ajaxcomplete_m2m

[pcdummy_ajaxcomplete_m2m], (*2)

Requirements

  • Symfony 2.1
  • Sonata/DoctrineORMAdminBundle dev-master

TODO

  • Secure the Ajax Backend
  • Check/Add configureable routes for the ajax backend

Installation

  • Add "pcdummy/ajaxcomplete-bundle" "dev-master" to your composer.json.
  • Add it to your AppKernel.php

``` php new Pcdummy\AjaxCompleteBundle\PcdummyAjaxCompleteBundle(),, (*3)


* Register the widgets with twig: ``` php twig: form: resources: - PcdummyAjaxCompleteBundle::fields.html.twig
  • Now you can use it in your admin like this:

php ->add('printer_manufacturer', 'pcdummy_ajaxcomplete', array('entity' => "PcdummyPrinterBundle:Manufacturer", 'property' => "name", 'maxRows' => 15)) ->add('catridges', 'pcdummy_ajaxcomplete_m2m', array( 'required' => false, 'expanded' => true, 'multiple' => true, )), (*4)

LICENSE

MIT, (*5)

The Versions

19/07 2013

dev-master

9999999-dev

Symfony AjaxCompleteBundle

  Sources   Download

MIT

The Requires

 

by René Kistl

ajax autocomplete form type ajax many 2 many form type