2017 © Pedro Peláez
 

symfony-bundle selector-bundle

A handy selector UI compoment to use with a Symfony 2 project

image

xi/selector-bundle

A handy selector UI compoment to use with a Symfony 2 project

  • Thursday, June 13, 2013
  • by xi-project
  • Repository
  • 1 Watchers
  • 2 Stars
  • 447 Installations
  • CoffeeScript
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Selector functionality for Symfony2

Selector bundle provides a handy selector UI compoment to use with a Symfony 2 project., (*1)

Dependencies

xi-bundle-tag * https://github.com/xi-project/xi-bundle-tag, (*2)

Installing

deps -file

[XiSelectorBundle]
    git=http://github.com/xi-project/xi-bundle-selector.git
    target=/bundles/Xi/Bundle/SelectorBundle

autoload.php file

<?php
'Xi\\Bundle'       => __DIR__.'/../vendor/bundles',
?>

appKernel.php -file

<?php
            new Xi\Bundle\SelectorBundle\XiSelectorBundle(),
 ?>

Usage:

You need to initialize selector in your main script file., (*3)

    options = {
        mainElement:            '.tag_item_selector',
        autoCompleteElement:    '.item_field', 
        containerElement:       '.items ul', 
        source:                 'URL TO SEARCH ACTION',     
        saveUrl:                'URL TO ADD ACTION',    
        selected:               selected,
        canAddNew:              true        # CAN YOU ADD NEW ITEM, OR JUST SELECT WHAT YOU HAVE SEARCHED.
        minLength:              3           # MIN TEXT LENGTH BEFORE SEARCH KICKS IN
    }
    yourSelector = new App.Selector(options)

The Versions

13/06 2013

2.2.x-dev

2.2.9999999.9999999-dev

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector

17/04 2013

dev-master

9999999-dev

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector

11/09 2012

2.0.x-dev

2.0.9999999.9999999-dev

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector

11/09 2012

dev-move-DI-20

dev-move-DI-20

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector

11/09 2012

dev-move-DI-folder

dev-move-DI-folder

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector

04/09 2012

2.1.x-dev

2.1.9999999.9999999-dev

A handy selector UI compoment to use with a Symfony 2 project

  Sources   Download

The Requires

 

by Avatar xi-project

selector