Skip to content

Loading…

Trigger change event upon creating new option #31

Closed
wants to merge 33 commits into from

4 participants

@philfreo

Fixes #16

and others added some commits
@koenpunt Added 'Add item link' 43554d1
@koenpunt Updated use of Add options e76d847
@kamal kamal Guard against adding already selected options fc12d22
@kamal kamal Ported 'Add Item' link to chosen.proto f084532
@kamal kamal Regenerate js files 12c68c9
@kamal kamal Performance fix for deciding when to show the "Add this item" link ceecfba
@kamal kamal Ported performance fix to prototype ea156ba
@kamal kamal Regenerate js files for performance fix 2bea3c3
@koenpunt Updated callback parameter to object with `value` and `text` property a27beca
@kamal kamal Remove duplicate entries for United States and United Kingdom 8a1b244
@kamal kamal Show add item link even for prefix matches 28df6d5
@koenpunt c57d1d6
hiding select.chzn-select was a bad idea, in general! reverting
923c3b2
Do no harm and return as soon as possible for unsupported browsers, name...
e0aa4af
@koenpunt Prototype merge 0e08f57
@koenpunt Fixed adding options 0b052ee
@koenpunt Add <option /> with selected attribute
Add <option /> with selected attribute instead of selecting it
afterwards with JS
ce83f87
@koenpunt Updated the way for adding items using a custom callback
removed debug console.log
2d7aed7
@koenpunt Updated examples
Fixes issues with adding options in prototype version
67db227
@koenpunt Added option for adding values by keyboard a2b9ac8
@koenpunt persistent_create_option was not implemented in prototype version
removed console.log
4672752
@koenpunt Brought up to date with latest harvesthq/master 95e2955
@Samnan Samnan Fix issue #11 => https://github.com/koenpunt/chosen/issues
On mouse click selection of new option creation, callback being called twice
6067ba4
@Samnan Samnan Option to disable duplicate option creation, with case insensitive op…
…tion

This commit enables a new option create_allow_duplicates, which enables or disables duplicate option creation in the control (to be used with create_option). Also, you can set create_allow_case_insensitive to true or false for additional behavior.
ef326b8
@Samnan Samnan updated coffeescript and package files with new changes 1a87179
@koenpunt Squashed commit of the following:
commit 7de0007b855c464f9a26425afb85e3fe4daf0df5
Merge: 10fb211 80f3985
Author: Koen Punt <koen@koenpunt.nl>
Date:   Thu Nov 1 11:32:06 2012 +0100

    Merge branch 'gh7_empty_select_should_show_input' into rebase

commit 10fb2119954a7129e3214985d679f3e957f1bd0a
Author: Koen Punt <koen@koenpunt.nl>
Date:   Thu Nov 1 11:30:04 2012 +0100

    Merged koenpunt/master onto harvesthq/master

commit 80f3985
Author: Koen Punt <koen@koenpunt.nl>
Date:   Thu Nov 1 11:02:57 2012 +0100

    fixes #7, select without options will now show input on click

commit c481fed
Author: Patrick Filler <pf@patrickfiller.com>
Date:   Tue Oct 9 14:20:10 2012 -0700

    Make sure single text link gets negative tab index. Fixes issue with tabbing backwards.

commit 9085750
Author: Patrick Filler <pf@patrickfiller.com>
Date:   Tue Oct 9 10:21:04 2012 -0700

    Fixes tab order issues with single Chosen.
617c56d
@koenpunt Fixed some minor issues after complete rebase 6a309df
@koenpunt show_create_option is now only called from winnow_results 3b75179
@koenpunt fixed issue where adding of duplicate items was possible ca399f2
@koenpunt added option to skip no results message, fixes #20 5caba79
@koenpunt create_option_text can now also be supplied as data-attribute 4dafd8f
@koenpunt Merge branch 'gh20-skip-no-results-message' into option_adding 69d3c8b
@koenpunt missing comma 944f9c5
@philfreo philfreo Trigger change event upon option creation 0586562
@philfreo philfreo Build JS 68c3506
@koenpunt koenpunt closed this in c64b07a
@koenpunt
Owner

I've fixed it myself with your code because your branch has diverged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 10, 2013
  1. Added 'Add item link'

    committed
  2. Updated use of Add options

    committed
  3. @kamal
  4. @kamal
  5. @kamal

    Regenerate js files

    kamal committed with
  6. @kamal
  7. @kamal
  8. @kamal
  9. @kamal
  10. @kamal
  11. c57d1d6

    committed
    hiding select.chzn-select was a bad idea, in general! reverting
    923c3b2
    Do no harm and return as soon as possible for unsupported browsers, name...
  12. Prototype merge

    committed
  13. Fixed adding options

    committed
  14. Add <option /> with selected attribute

    committed
    Add <option /> with selected attribute instead of selecting it
    afterwards with JS
  15. Updated the way for adding items using a custom callback

    committed
    removed debug console.log
  16. Updated examples

    committed with
    Fixes issues with adding options in prototype version
  17. @Samnan

    Fix issue #11 => https://github.com/koenpunt/chosen/issues

    Samnan committed with
    On mouse click selection of new option creation, callback being called twice
  18. @Samnan

    Option to disable duplicate option creation, with case insensitive op…

    Samnan committed with
    …tion
    
    This commit enables a new option create_allow_duplicates, which enables or disables duplicate option creation in the control (to be used with create_option). Also, you can set create_allow_case_insensitive to true or false for additional behavior.
  19. @Samnan
  20. Squashed commit of the following:

    committed
    commit 7de0007b855c464f9a26425afb85e3fe4daf0df5
    Merge: 10fb211 80f3985
    Author: Koen Punt <koen@koenpunt.nl>
    Date:   Thu Nov 1 11:32:06 2012 +0100
    
        Merge branch 'gh7_empty_select_should_show_input' into rebase
    
    commit 10fb2119954a7129e3214985d679f3e957f1bd0a
    Author: Koen Punt <koen@koenpunt.nl>
    Date:   Thu Nov 1 11:30:04 2012 +0100
    
        Merged koenpunt/master onto harvesthq/master
    
    commit 80f3985
    Author: Koen Punt <koen@koenpunt.nl>
    Date:   Thu Nov 1 11:02:57 2012 +0100
    
        fixes #7, select without options will now show input on click
    
    commit c481fed
    Author: Patrick Filler <pf@patrickfiller.com>
    Date:   Tue Oct 9 14:20:10 2012 -0700
    
        Make sure single text link gets negative tab index. Fixes issue with tabbing backwards.
    
    commit 9085750
    Author: Patrick Filler <pf@patrickfiller.com>
    Date:   Tue Oct 9 10:21:04 2012 -0700
    
        Fixes tab order issues with single Chosen.
Commits on May 11, 2013
Commits on May 12, 2013
  1. missing comma

    committed
Commits on May 31, 2013
  1. @philfreo
  2. @philfreo

    Build JS

    philfreo committed
Something went wrong with that request. Please try again.