Josh Johnson
b0f3b28ef4
Do not open dropdown if element is disabled
2018-10-30 20:28:40 +00:00
Josh Johnson
798b49d565
Disable element if disabled attr passed
2018-10-30 20:21:52 +00:00
Josh Johnson
7e4347b183
Resolve issue with Firefox not selecting choices via enter key
2018-10-30 19:20:16 +00:00
Josh Johnson
608358a9f8
Fix bug where selected options were not being selected
2018-10-28 09:32:35 +00:00
Josh Johnson
de71fb7ef4
Resolve issue with disable/enable methods
2018-10-27 20:16:46 +01:00
Leonard
8149db8436
Make it work in Internet Explorer ( #434 )
...
+ IE does not support multiple-parameter classList.add() /
classList.remove(); Replace it with single-parameter calls
https://caniuse.com/#feat=classlist
+ IE needs polyfills for Array.prototype.find / Array.prototype.includes
2018-10-27 16:26:52 +01:00
Josh Johnson
4193422cf6
Resolve an issue with disabling/enabling instances
2018-10-21 19:26:08 +01:00
Josh Johnson
e07e14bd8f
Add select multiple e2e tests
2018-10-13 16:38:51 +01:00
Josh Johnson
1f06a32b30
Resolve bug with text value
2018-10-13 15:49:44 +01:00
Josh Johnson
2f96c239ff
Better organisation of e2e tests
2018-10-13 12:18:02 +01:00
Josh Johnson
81b2e23d0d
Use test.html for testing + add additional tests
2018-10-11 19:33:19 +01:00
Josh Johnson
3319529b98
Seperate key methods into class methods
2018-10-09 13:17:11 +01:00
Josh Johnson
60d52a2d3b
Check no unknown config keys are passed
2018-10-09 13:16:58 +01:00
Josh Johnson
4431a0ec23
Use deepmerge lib + store all defaults in DEFAULT_CONFIG
2018-10-09 12:43:25 +01:00
Josh Johnson
4824958e4d
Make render method private
2018-10-09 12:26:47 +01:00
Ryan Mahoney
5e215907f4
expose new event that triggers when choice is highlighted
2018-07-03 09:51:18 +01:00
Josh Johnson
129d01c396
Amend copy
2018-05-29 20:39:40 +01:00
Josh Johnson
3886cbbd5c
Minor tweaks
2018-05-29 20:30:58 +01:00
Josh Johnson
9ac62aec31
Codebeat fixes
2018-05-29 20:08:05 +01:00
Josh Johnson
38cc568341
Use objects for args where necessary
2018-05-29 19:55:33 +01:00
Josh Johnson
bc2e0b8be0
Build
2018-05-29 15:47:45 +01:00
Josh Johnson
32f32703cb
Use internal flag for enabling/disabling search
2018-05-29 15:46:30 +01:00
Josh Johnson
5a6c8142b9
Inverse focus calls when opening/closing dropdown
2018-05-29 15:08:43 +01:00
Josh Johnson
8a21c12482
Rename duplicateItems to duplicateItemsAllowed for clarity
2018-05-29 09:30:05 +01:00
Josh Johnson
f286dbc653
Add util tests
2018-05-28 17:56:36 +01:00
Josh Johnson
bfb6571ce9
Merge into latest
2018-05-28 16:22:22 +01:00
Josh Johnson
056ece0238
Run linter
2018-05-28 15:50:16 +01:00
Josh Johnson
179542897c
Merge branch 'develop' into develop
2018-05-28 15:47:27 +01:00
Josh Johnson
67e1940232
Avoid name conflict with stripHTML
2018-05-28 15:46:27 +01:00
Josh Johnson
9dbb2e9733
Rename stripHTML + cast values to string
2018-05-28 15:39:12 +01:00
Josh Johnson
8214eea7a9
Resolve conflict + add test
2018-05-28 15:33:13 +01:00
Tőrös Egon Richárd
6e45d3f9b0
Merge branch 'develop' into develop
2018-05-28 16:19:31 +02:00
Josh Johnson
a023d92b35
Resolve conflict
2018-05-28 15:17:43 +01:00
Egon Richárd Tőrös
0cbf951845
Merge branch 'develop' of https://github.com/jshjohnson/Choices into develop
2018-05-28 16:13:55 +02:00
Josh Johnson
39beb20245
Remove pointless comments + minor tidying
2018-05-28 14:18:44 +01:00
Josh Johnson
804a4a442b
Move scrolling logic into list component
2018-05-28 14:09:11 +01:00
Josh Johnson
f9455b1a25
Install prettier + resolve linting issues
2018-05-28 13:55:44 +01:00
Josh Johnson
a6bfdc0993
Refactor _scrollToChoice
2018-05-27 17:34:16 +01:00
Josh Johnson
1df8d81ae4
Refactor _canAddItem
2018-05-27 17:22:58 +01:00
Josh Johnson
9a9e7f7b25
Restructure style folders
2018-05-27 12:04:42 +01:00
Josh Johnson
257a038262
Use express for development + folder restructuring
2018-05-27 11:57:21 +01:00
Josh Johnson
831a79ea44
Move public assets into public foldeR
2018-05-25 14:00:27 +01:00
Josh Johnson
8f67de4844
Make event handlers private
2018-05-25 09:22:14 +01:00
Josh Johnson
b3956db628
Export components from index file
2018-05-25 09:01:55 +01:00
Josh Johnson
579138f756
Remove unused utils
2018-05-25 08:58:07 +01:00
Josh Johnson
478df0fac1
Minor tweaks
2018-05-25 08:53:58 +01:00
Josh Johnson
25309c91fc
Use dep for event polyfill
2018-05-25 08:53:50 +01:00
Josh Johnson
1608d815e9
Use core js for polyfills
2018-05-25 08:44:54 +01:00
Josh Johnson
62389ff744
More private variables
2018-05-24 09:22:07 +01:00
Josh Johnson
109a232171
Minor variable name change
2018-05-23 14:43:52 +01:00