Commit graph

230 commits

Author SHA1 Message Date
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
Josh Johnson 514d68890b Loading state call removal 2016-10-02 16:43:00 +01:00
Josh Johnson 56e3465ac0 Housekeeping 2016-09-30 13:50:23 +01:00
fabien.leconte c8d508f4de New callback to allow user to customize templates. 2016-09-30 09:44:51 +02:00
Josh Johnson 54510a2671 Be implicit with loading state calls 2016-09-29 14:25:08 +01: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
Josh Johnson 9d5a6cc41e Keep search callback + improvements but remove ajax search for now 2016-09-27 20:07:32 +01:00
Josh Johnson a990206cef Merge 2016-09-27 16:29:47 +01:00
fabien.leconte e7b22e7f6d - Bogus test on callback existence 2016-09-27 17:18:33 +02:00
Josh Johnson b6fcefb4a5 Only clear choices if select input 2016-09-27 14:13:41 +01:00
Josh Johnson 2b028db271 Refactoring + consistencies 2016-09-27 13:44:35 +01:00
fabien.leconte d5dbd44024 - Better handling of loading state 2016-09-27 11:08:29 +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
Josh Johnson 57586c0e3d Update read me + minor tweak 2016-09-26 14:07:09 +01:00
Josh Johnson 76df544677 Merge branch 'pr-item-select-text' of https://github.com/froggiefab/Choices into froggiefab-pr-item-select-text 2016-09-26 14:02:18 +01:00
Josh Johnson 30fd342b8c Redefine input value width on item edit 2016-09-26 13:59:02 +01:00
fabien.leconte eaf8f7c4f6 Remove debugger; 2016-09-26 11:39:51 +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 cd0bb9d45f Removing loading text flag regardless of whether there is a placeholder set 2016-09-24 10:52:17 +01: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 ef1e7d23ef Minor tweaks 2016-09-15 21:34:10 +01:00
Josh Johnson a2be7f276a Housekeeping 2016-09-15 21:29:24 +01:00
Josh Johnson c8f12bc942 Deep merge of user config 2016-09-15 21:04:15 +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 d40841d8dd Move to 2 space indentation + editorconfig 2016-09-05 22:04:15 +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 b95f9bac5e Force jasmine version to 2.4.1 2016-09-04 14:11:29 +01:00
Josh Johnson ca86265731 Better sort handling + sort tests 2016-09-04 13:44:31 +01:00
Josh Johnson 34bce568a2 Ensure init is returned to false on destroy 2016-09-04 12:27:05 +01:00
Josh Johnson 50396b4374 Ensure this is returned when checking for init 2016-09-04 12:25:43 +01:00
Josh Johnson d60bf1c86c Resolve test errors 2016-09-04 12:10:39 +01:00
Josh Johnson aff165e4a1 Ability to disable sorting of choices/groups 2016-08-31 19:18:46 +01:00
BroiSatse 593d722843 Optional sorting 2016-08-31 14:21:06 +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