Commit graph

118 commits

Author SHA1 Message Date
Josh Johnson c867558dcd Update read me + default value for replaceChoices 2016-10-19 07:35:42 +01:00
Josh Johnson 377c61fb0c Version 2.3.0 2016-10-18 19:41:05 +01:00
Josh Johnson 5cc10cdcbb Pass group value to callbacks 2016-10-18 19:23:22 +01:00
Josh Johnson b3071cc0dd Webpack UMD wrapper 2016-10-18 14:15:00 +01:00
fabien.leconte aa04aec6e1 - Add support of custom properties names for the "_addGroup" function
- Handle groups in ajax callback
2016-10-10 14:17:35 +02:00
fabien.leconte 3ea9fa56a7 Rebase https://github.com/jshjohnson/Choices into pr-custom-templates 2016-09-30 09:46:27 +02:00
fabien.leconte 0b00bdb848 "selected" and "disabled" properties are no longer ignored when an item is added through _ajaxCallback 2016-09-29 15:16:28 +02:00
fabien.leconte e1151d5353 - Added a method to handle loading states
- Added a method to get ajax callback function
 - Refactoring
2016-09-27 10:11:22 +02:00
fabien.leconte e8e4e61893 Draft for ajax search 2016-09-26 18:11:32 +02:00
fabien.leconte bebbbdac88 Add the ability to pass "Press to select" text through Javascript configuration 2016-09-26 11:36:04 +02:00
Josh Johnson 53f7207257 Ability to set item by disabled choice programatically 2016-09-21 13:32:25 +01:00
Josh Johnson 2c64c84c1d Default value of false for highlight function 2016-09-20 14:17:35 +01:00
Josh Johnson 727d304f49 Run onChange callback when removing highligted items 2016-09-20 12:57:44 +01:00
Josh Johnson b484b6abbd Housekeeping 2016-09-05 22:47:11 +01:00
Josh Johnson 6d1da30f60 Minor refactoring 2016-09-05 22:31:20 +01:00
Josh Johnson 1f2d685f5e Ensure single select boxes hide after choice selection 2016-09-05 13:48:51 +01:00
Josh Johnson 4179ca038a RTL support + examples 2016-09-04 22:23:20 +01:00
Josh Johnson 349b14386e Resolve IE11 single select box issue by not opening dropdown on focus + use objects instead of switch statements 2016-09-04 15:23:19 +01:00
Josh Johnson aff165e4a1 Ability to disable sorting of choices/groups 2016-08-31 19:18:46 +01:00
Josh Johnson 1ba92d81b8 Version 1.1.7 2016-08-23 07:24:55 +01:00
Josh Johnson 7207ee543f Remove unneccessary requestAnimation frame polyfill + type check before adding first predefined select option 2016-08-23 07:14:27 +01:00
Josh Johnson 81cef3090c Ensure the state of the dropdown is checked before opening/closing 2016-08-21 20:52:40 +01:00
Josh Johnson 66feebc1ee Ensure placeholder option is respected 2016-08-20 12:39:37 +01:00
Josh Johnson 5e557e61ae Minor css tweaks to buttons + further tests 2016-08-20 11:36:03 +01:00
Josh Johnson aee1732873 Remove button styling on focus + minor tweaks 2016-08-20 11:21:31 +01:00
Josh Johnson 760fbc9f9e Working version with minor bugs 2016-08-19 13:11:15 +01:00
Josh Johnson 5f0545d604 Refactoring 2016-08-19 09:51:44 +01:00
Josh Johnson 9b6cc40f58 Housekeeping 2016-08-18 17:56:27 +01:00
Josh Johnson 5e10f0eda8 Further refactoring 2016-08-18 17:53:46 +01:00
Josh Johnson f3bfa847b1 More spacing around remove buttons 2016-08-17 14:32:02 +01:00
Josh Johnson f201b6cd09 Resolve IE11 bug with documentFragment.children 2016-08-17 14:00:30 +01:00
Josh Johnson 9f0dc2c8dc ESLint entire project 2016-08-14 22:14:37 +01:00
Josh Johnson f300c25465 Favicons + update read me 2016-08-14 17:32:08 +01:00
Josh Johnson 0d66ed2ea2 Housekeeping 2016-08-14 17:19:49 +01:00
Josh Johnson 84bec3804e _canAddItem private function to validate a user can add an item 2016-08-14 17:14:55 +01:00
Josh Johnson 9da6b57b66 Loading placeholder for multiple select when using ajax 2016-08-14 16:19:09 +01:00
Josh Johnson 5d2f4d067d Move item/button/choice actions into functions + focus input on highlight item 2016-08-14 16:10:53 +01:00
Josh Johnson 6e712476bd Ability to specify no result/no choice dropdown text 2016-08-14 15:36:11 +01:00
Josh Johnson 1cacf4798b Add version number to output 2016-08-12 15:51:31 +01:00
Josh Johnson a611117219 Housekeeping 2016-08-08 21:58:15 +01:00
Josh Johnson 4ff68b60dc Split mousedown function into onClick & onMouseDown - maintaining default select actions 2016-08-08 21:46:17 +01:00
Josh Johnson fd8b594568 Further aria roles 2016-08-08 17:45:47 +01:00
Josh Johnson 12dd5ef28d Reset search on key up if a user has deleted value 2016-08-08 14:35:14 +01:00
Josh Johnson b17c3a1289 Only search filter for non-text inputs 2016-08-08 14:05:29 +01:00
Josh Johnson 5caa5e4684 Toggable single select drop downs 2016-08-08 13:58:37 +01:00
Josh Johnson 97451458ae Close dropdown for single select boxes without search on blur 2016-08-08 13:32:29 +01:00
Josh Johnson 692788e18d Reinstate single select focus behaviour + allow remove button to focus 2016-08-08 07:40:49 +01:00
Josh Johnson f785360b50 Prevent excessive touchmove variable reassignments 2016-08-07 22:16:05 +01:00
Josh Johnson 998d95a0b2 Version 1.0.56 (Resolve touchstart/move/end bug) 2016-08-07 22:10:21 +01:00
Josh Johnson 6dfeb5a76f CSS tweaks - don't rely on 'pointer-events: none' + only flip if no space in window rather than viewport 2016-08-07 21:05:43 +01:00