Skip to content

Instantly share code, notes, and snippets.

View fonji's full-sized avatar
🤖
Happy Robot

Yannick Fonjallaz fonji

🤖
Happy Robot
View GitHub Profile
@fonji
fonji / select2.js
Last active June 22, 2016 08:19
select2 editor for Backbone-forms
/**
* Select2 editor for backboneforms
* https://gist.github.com/fonji/5f5a71cf247fcb9e4098
*
* Renders Select2 - jQuery based replacement for select boxes
* Based on:
* https://gist.github.com/jbugwadia/9303389
*
* Usage: Works the same as Select editor, with the following extensions for Select2:
* schema.config: configuration object passed to Select2