github selectize/selectize.js v0.12.0
0.12.0

latest releases: v0.15.2, v0.15.1, v0.15.0...
9 years ago

Additions / Updates

  • Released on NPM as selectize (#60, #604)
  • Added support for using dataAttrto hydrate a text input element: <input type="text" data-data="[{...},{...}]"> (#155, #231, #522)
  • Added splitOn setting that allows pasted text to be broken up into items (#425, @jhash)
  • Added removeOptionGroup, clearOptionGroups methods (#669)
  • Added closeAfterSelect setting (#344)
  • Added $item argument to item_remove event (#585)
  • Added focus, blur events (plus onFocus, onBlurcallbacks)
  • Added ability to pass callback to createItem (for use with async option creation)
  • Updated sifter.js to 0.4.0
    • Text sorting is now locale-aware.
    • Added Polish diacritics: łŁ

Bugfixes

  • Don't allow tabbing/focus to selectize control that is disabled (#583, #307)
  • Don't propagate ESC keypress when closing menu – for when selectize is used in modals (#672)
  • Set option labels on original, hidden <select> element (#512)
  • Improved focus, blur handling (particularly IE)
  • Disabled validity API ("required" prop) on Android. Support for it is too erratic currently.
  • Allow tabbing to next control when control is full (#629)
  • Render functions can now return strings that start w/newline characters (#645)
  • Fixed grunt module building on Windows (#453)

Breaking Changes

  • Made addOption, addOptionGroup add implicit $order property (if not already set). The property used to only be added to options populated from the DOM (#640, #381, #499, #198)
  • Removed optgroupOrder setting. Constraining the option group render order is now achieved by setting lockOptgroupOrder: true. To customize the order, set the $order property on each item in your optgroups array

Don't miss a new selectize.js release

NewReleases is sending notifications on new releases.