Commit graph

280 commits

Author SHA1 Message Date
Josh Johnson 1a1b05e662 Typos 2017-04-07 09:16:51 +01:00
Josh Johnson df4dc82e2c Merge master 2017-04-07 09:06:34 +01:00
Josh Johnson 99a1eb5e3a Rename sortFields to searchFields for clarity 2017-04-07 08:49:15 +01:00
Adam Mockor 10db5b85f5 set placeholder choice as active after click on remove item button in single select mode 2017-04-07 09:36:40 +02:00
Adam Mockor 8679871bfd placeholder in single select should be always first choice, regardless of sorting 2017-04-07 09:36:06 +02:00
Manuel Madeira 7ec1e5310c Add option to remove search filter choices but emit the search event. 2017-04-06 14:42:11 +01:00
Adam Mockor 4a8cdecbfd Merge branch 'master' into feature/select-placeholders
* master: (48 commits)
  select-one input is now not focusable in disabled state (fixes #137)
  Don't use template literals on demo
  Use nornmal functions on demo
  Update README.md
  Version 2.7.7
  Resolve broken cancel buttons
  Resolve ARIA role bug
  Update README.md
  naming change
  lint fixes
  Fix item custom template select bug
  Version 2.7.6
  Update documentation Added showDropdown/hideDropdown to list of events
  Added showDropdown/hideDropdown events
  Version 2.7.5
  Add label to highlighting events too
  Add example in index.html + refactoring
  Adding generated sources
  Add feature of passing the label through the event of add/remove item
  Fix choices crash with wicked_pdf
  ...

# Conflicts:
#	assets/scripts/src/choices.js
#	index.html
#	tests/spec/choices_spec.js
2017-04-04 16:59:12 +02:00
Adam Mockor 6d894d4352 select-one input is now not focusable in disabled state (fixes #137) 2017-04-04 12:58:16 +02:00
Josh Johnson 7efd189c7d Resolve broken cancel buttons 2017-03-28 14:41:12 +01:00
Josh Johnson 779d2e0292 Resolve ARIA role bug 2017-03-28 14:08:38 +01:00
Bohdan Kostko c33a89501a naming change 2017-03-12 14:21:00 +01:00
Bohdan Kostko 9df1310a52 lint fixes 2017-03-12 14:19:27 +01:00
Bohdan Kostko c21893e6fa Fix item custom template select bug 2017-03-12 14:17:46 +01:00
Samuel Jack 00af5279e9 Added showDropdown/hideDropdown events 2017-03-02 16:13:53 +00:00
Josh Johnson eec8a667ad Add label to highlighting events too 2017-03-01 19:07:22 +00:00
alexandre.baillif@kosmos.fr 8c6fbdd97a Add example in index.html + refactoring 2017-03-01 15:00:22 +01:00
alexandre.baillif@kosmos.fr 34e8a430e1 Add feature of passing the label through the event of add/remove item 2017-03-01 13:41:01 +01:00
Josh Johnson ea4c5ae1f8 Version 2.7.3 2017-02-21 20:47:12 +00:00
Josh Johnson e35ef8040c Comment 2017-02-17 09:27:01 +00:00
Josh Johnson c63d025e96 Minor improvements to type checking 2017-02-17 09:23:52 +00:00
Josh Johnson 6abeb65c95 Remove loading state if empty array passed to .ajax() 2017-02-10 09:01:20 +00:00
Josh Johnson ccfad3cf9b Ability to pass function to no choice/result notices 2017-02-09 13:49:30 +00:00
Josh Johnson 8c2d951947 Merge remote-tracking branch 'origin/master' 2017-02-05 09:44:14 +00:00
Josh Johnson cfd03b9302 Create unique group id if none passed 2017-02-05 09:41:59 +00:00
Mike Robertson c3c31edc04 Throw an error if id field is missing from group object at addGroup function invocation. 2017-01-31 11:30:21 -05:00
Josh Johnson 24452331ed Merge pull request #107 from StephaneTrebel/master
Add default type for remove item buttons
2017-01-31 09:43:07 +00:00
Flaoua e738e1ad46 Add type 'button' for remove item buttons 2017-01-31 05:15:01 +01:00
Mike Robertson b0e96d7038 use result.id instead of the index in all places that do that 2017-01-30 14:48:55 -05:00
Arthur b557de3400 Accept page up/down to skip to the first/last options 2017-01-25 11:16:58 -02:00
Josh Johnson bda230ef46 Style choices/items that are assigned as placeholders 2017-01-23 13:54:26 +00:00
Paul Laros 24c6803391 Added resetScrollPosition option 2017-01-12 15:13:21 +01:00
Josh Johnson 82a2a37298 Update read me 2017-01-01 16:00:31 +00:00
Josh Johnson d0b78438bb Expose fuse options in config 2017-01-01 15:59:43 +00:00
Josh Johnson ec0d336072 Version 2.6.0 2017-01-01 15:32:09 +00:00
Rico Sta. Cruz 135ca8c1f8
Allow empty values 2016-12-29 15:06:42 +08:00
Yuri S 0b9651aa83 Fix Pressing enter submits the form #54 2016-11-28 18:12:45 +05:00
Josh Johnson 5108f190ba Remove width test from search placeholder 2016-11-16 10:53:24 +00:00
Josh Johnson 3a622953dc Search placeholder value param 2016-11-14 23:06:24 +00:00
Josh Johnson ca6ab7da81 Begun improving placeholders on single selects 2016-11-14 20:14:16 +00:00
Josh Johnson 325a27cac2 Update documentation 2016-11-07 14:05:31 +00:00
fabien.leconte c57d6c76fc - Callback calls using 'call' to force 'this' to the instance of Choices that triggered the function 2016-11-07 11:37:47 +01:00
fabien.leconte 8be12c20cd - Add support of custom labels for i18n purpose 2016-11-07 11:27:04 +01:00
Josh Johnson 1fcd9dea0d Cache object lookups 2016-10-26 15:43:15 +01:00
Josh Johnson d6f34fc70e Merge remote-tracking branch 'origin/master' 2016-10-22 21:05:33 +01:00
Josh Johnson ca0541b91a Function to handle input width sizing + minor tweaks 2016-10-22 21:04:13 +01:00
Josh Johnson 378c6dbafa Resolve init/destroy bug 2016-10-22 20:15:28 +01:00
Nathaniel Watson af970ec776 Fix noResultsText typo (round -> found) 2016-10-21 17:43:32 +13:00
Josh Johnson c867558dcd Update read me + default value for replaceChoices 2016-10-19 07:35:42 +01:00
Josh Johnson de33f6b6e3 Ability to remove choices when setting + callback improvements 2016-10-19 07:33:38 +01:00
Josh Johnson 5c04638bef Group value callback tweaks 2016-10-18 19:39:49 +01:00