Skip to content

History / Knockout.js Integration

Revisions

  • `$().select2('val',...)` is being deprecated according to the code, removing it here

    @jbutz jbutz committed Apr 21, 2016
  • Support multiple attribute

    @qwelias qwelias committed Jan 26, 2016
  • Have found it not working on div tag, everything fine with select tho.

    @qwelias qwelias committed Jan 26, 2016
  • when using placeholder option. Select2 throws an error if allowClear option is not set to true.

    @quickstep25 quickstep25 committed Mar 8, 2015
  • Added support for multi. Select2 expects an array passed in the val function when multi valued. From 3.5.2 documentation: "Array of the value attributes of the options that should be selected. null for empty."

    @jamesduvall jamesduvall committed Jan 28, 2015
  • Changing "data" to "val" to work properly.

    @ksookocheff-va ksookocheff-va committed Sep 5, 2014
  • Improved snippet to work with multi value select

    @akurdyukov akurdyukov committed Jun 26, 2014
  • Updated Knockout.js Integration (markdown)

    @f1v-user f1v-user committed Jun 11, 2014
  • Updated Knockout.js Integration (markdown)

    @f1v-user f1v-user committed Jun 11, 2014
  • This change will make it work with Knockout 3. See http://knockoutjs.com/upgrade-notes/v3.0.0.html (2. Bindings are now refreshed independently)

    @petrohi petrohi committed Nov 23, 2013
  • updated broken js references on the fiddle

    @anasnakawa anasnakawa committed Aug 11, 2013
  • Added example using an `input[type=hidden]` and made it select the initial value if specified.

    drosen0 committed Oct 18, 2012
  • Created Knockout.js Integration (markdown)

    @ivaynberg ivaynberg committed Jun 7, 2012