Commit graph

216 commits

Author SHA1 Message Date
Josh Johnson 677d3a5582 Add jQuery example to documentation 2016-08-01 20:00:24 +01:00
Josh Johnson e898309fb1 Sprucing up the demo page + scroll to top of option list on search 2016-07-31 22:48:36 +01:00
Josh Johnson 4968d73ede Set value of select input based on choice 2016-07-31 21:05:17 +01:00
Josh Johnson a7f0547dbe Housekeeping 2016-07-31 20:15:17 +01:00
Josh Johnson ca39e30684 Set choices directly via public function + callback on change 2016-07-31 20:02:46 +01:00
Josh Johnson c51d57285f Use ES5 on demo page + include fetch polyfill 2016-07-30 23:26:32 +01:00
Josh Johnson c0249ffc13 Housekeeping 2016-07-30 16:13:01 +01:00
Josh Johnson 56d9f7d381 Add repo link to demo page 2016-07-30 16:07:03 +01:00
Josh Johnson 1e249295ce Ability to define choices in config + minor tweaks 2016-07-30 16:03:20 +01:00
Josh Johnson 064d12400b Ability to specify options via config 2016-07-30 15:50:29 +01:00
Josh Johnson 400a70e5cb Options array in config 2016-07-30 15:12:22 +01:00
Josh Johnson 865ba7d485 Build 2016-07-14 23:21:28 +01:00
Josh Johnson 87ca00ee66 Further single select box tests 2016-07-13 21:40:59 +01:00
Josh Johnson db5d91517a Resolve typo 2016-07-13 20:11:44 +01:00
Josh Johnson 1934c7fa50 Seperate base and choices css 2016-07-11 09:46:48 +01:00
Josh Johnson 712c8cf801 Tests 2016-07-02 13:04:38 +01:00
Josh Johnson f64a6295ad Remote source country list example 2016-06-30 22:25:00 +01:00
Josh Johnson 283324c65b Add backspace to search keycode regex 2016-06-30 22:08:40 +01:00
Josh Johnson ea2669312f Only add placeholder items for single select boxes 2016-06-30 14:11:09 +01:00
Josh Johnson b45715c5be Sort choices by label 2016-06-29 14:47:58 +01:00
Josh Johnson c1278e8f0d Further updating of terminology 2016-06-27 14:57:33 +01:00
Josh Johnson a2e45209a7 Terminology updates (options -> choices) && documentation 2016-06-27 14:46:12 +01:00
Josh Johnson 6a9f2cb354 Documentation + minor fixes 2016-06-21 23:06:23 +01:00
Josh Johnson 278a693886 Allow chaining + private/public function differentation + set/clear value methods 2016-06-08 14:45:29 +01:00
Josh Johnson 1a9622aaff Eliminate excessive searches 2016-06-07 14:20:37 +01:00
Josh Johnson 851ddea81c Psuedo fixed search box 2016-06-02 14:37:06 +01:00
Josh Johnson 7cfe84e9d1 Ability to disable search 2016-06-01 18:56:08 +01:00
Josh Johnson f361e4b34d Ability to add both attribute values and object values + housekeeping 2016-06-01 18:45:35 +01:00
Josh Johnson 110741aed3 Search within dropdown on single search boxes 2016-05-18 22:40:32 +01:00
Josh Johnson 16668b3bd1 Reference correct file 2016-05-16 14:49:18 +01:00
Josh Johnson d87a3f8171 Close button styling 2016-05-11 23:17:22 +01:00
Josh Johnson 964a8e709b Test for right click 2016-05-11 14:51:32 +01:00
Josh Johnson 7c4ec26479 Choices improvements 2016-05-08 13:22:25 +01:00
Josh Johnson 543ac2226f Option group single select box 2016-05-08 12:27:08 +01:00
Josh Johnson c76088fc8f Mousedown event instead of click for reacting before blur triggers 2016-05-08 12:22:56 +01:00
Josh Johnson ec8c324383 Populate options from ajax api 2016-05-08 00:02:52 +01:00
Josh Johnson 57ad1dc31c Destroy method tweaks 2016-05-07 14:14:05 +01:00
Josh Johnson c4ed167a02 Single select box support 2016-05-07 12:36:50 +01:00
Josh Johnson 345fe885c5 Better handling of option highlighting + Fuse search implementation 2016-05-03 21:31:05 +01:00
Josh Johnson 39fff5dd34 Highlight position function + scroll dropdown based on highlighted option 2016-05-02 21:39:33 +01:00
Josh Johnson 5aaf5ad117 Attach template functions to options 2016-05-02 15:29:05 +01:00
Josh Johnson 04ab5f6a98 Attach choices to window 2016-04-25 18:00:30 +01:00
Josh Johnson d07517fe96 Semi-working filtering of options based on input value + restore ability to remove item based on back key 2016-04-22 19:45:50 +01:00
Josh Johnson 7774e8bb0d Active state handling plus positioning of dropdown 2016-04-21 14:43:17 +01:00
Josh Johnson f63652471c Handling option groups + label/value differentation 2016-04-16 17:06:27 +01:00
Josh Johnson fc0a72d2a2 Set placeholders on select box 2016-04-15 09:19:02 +01:00
Josh Johnson 6ac55c9e37 Use const instead of let where possible + selecting options 2016-04-12 22:42:56 +01:00
Josh Johnson c821c923c9 Ability to pass multiple elements to instance 2016-04-10 21:23:42 +01:00
Josh Johnson 4b889f9e4d Toggling dropdown menu 2016-04-09 11:30:08 +01:00
Josh Johnson 0c9238b72c Better use of data attributes + dropdown styling + getter methods 2016-04-08 22:33:13 +01:00
Josh Johnson 50c53ce3ad Bit of styling 2016-04-07 19:44:16 +01:00
Josh Johnson fb38d7bf55 Ability to assign preset items through constructor 2016-04-07 13:57:57 +01:00
Josh Johnson 0676828ac3 Assign element value based on store 2016-04-04 21:44:32 +01:00
Josh Johnson d8620f433f Render items from store 2016-04-04 14:43:32 +01:00
Josh Johnson 174aa399c2 Handle click events on list items + set active status in store + set select status in store 2016-04-03 23:07:10 +01:00
Josh Johnson 526fe9fd85 Append/prepend value options + ability to filter by regex 2016-03-24 14:42:03 +00:00
Josh Johnson ff7521b090 Handle optgroups - initial foundation work 2016-03-21 22:45:49 +00:00
Josh Johnson a3bda138a9 Begun handling select element + disabled state 2016-03-21 19:27:52 +00:00
Josh Johnson 152b4283dc Don't store input values as array for text inputs + handle different input types 2016-03-18 11:05:50 +00:00
Josh Johnson 449b735461 Initial styling + ability to highlight all and remove highlighted items 2016-03-17 23:10:16 +00:00
Josh Johnson ecee8cff47 Handle on one element per instance + remove list items on back space 2016-03-17 15:00:22 +00:00
Josh Johnson 8ea38d8d6b Predefine values + limiting + updating hidden input values 2016-03-16 23:15:03 +00:00
Josh Johnson d39fcde893 Add event listeners to each element in this.elements + wrap them in div 2016-03-16 14:41:13 +00:00
Josh Johnson 41efa76a5b API structuring + webpack config 2016-03-15 22:42:10 +00:00
Josh Johnson 8651d69b42 Class structuring + event listeners 2016-03-15 14:39:22 +00:00
Josh Johnson ee252bfd5c File structuring 2016-03-15 14:04:53 +00:00