Skip to content

A simple plugin which brings chosen.js in symfony's choice widgets

Notifications You must be signed in to change notification settings

congow/sfChosenSelectPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

sfChosenSelectPlugin

Fancy selects

sfChosenSelectPlugin lets you use chosen.js for your selects.

Installation

You can clone this repo via git:

git clone git@github.com:congow/sfChosenSelectPlugin.git

or you can install it as an external SVN dependency:

svn pe svn:externals plugins
sfChosenSelectPlugin https://svn.github.com/congow/sfChosenSelectPlugin.git

or checkout via SVN:

svn co https://svn.github.com/congow/sfChosenSelectPlugin.git plugins/sfChosenSelectPlugin

Don't forget to enable it in your application ( ProjectConfiguration::setup() ):

$this->enablePlugins('sfChosenSelectPlugin');

Usage

Every time you want to apply chosenJS to one of your selects you only need to set the renderer class:

$widget->setOption('renderer_class', 'sfWidgetFormChosenChoice');

About

A simple plugin which brings chosen.js in symfony's choice widgets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published