Commit graph

1070 commits

Author SHA1 Message Date
Josh Johnson 336ffc9e87 Setup template function + remove unused utils 2016-05-02 12:23:12 +01:00
Josh Johnson 2ccac3083d Open dropdown if typing 2016-04-29 18:23:06 +01:00
Josh Johnson 17e00f10fb Documentation + refactoring 2016-04-29 18:06:46 +01:00
Josh Johnson f661661565 Use single generate input function 2016-04-29 17:11:20 +01:00
Josh Johnson 1f547bb065 Build 2016-04-29 15:18:53 +01:00
Josh Johnson 93f69eb3da Empty dropdown handling + highlighting item improvments 2016-04-28 20:49:49 +01:00
Josh Johnson cbfe38e937 Use DOM querying for highlighting options - less rendering 2016-04-28 15:30:43 +01:00
Josh Johnson 9dc23e86bf More higlighting option tweaks 2016-04-27 16:41:30 +01:00
Josh Johnson 35b9670ac5 Foundation work for highlighting options 2016-04-26 14:36:02 +01:00
Josh Johnson 04ab5f6a98 Attach choices to window 2016-04-25 18:00:30 +01:00
Josh Johnson eb80a373df Reinstate option updating on item removal 2016-04-25 14:59:58 +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 c10ac458ec Use active/flipped classes + store input type 2016-04-22 09:02:42 +01:00
Josh Johnson 7774e8bb0d Active state handling plus positioning of dropdown 2016-04-21 14:43:17 +01:00
Josh Johnson 5ab0075908 Shift key support 2016-04-17 12:09:46 +01:00
Josh Johnson e1d138ba42 Reinstate method to remove item by value + general refactoring 2016-04-17 12:02:28 +01:00
Josh Johnson ed66199c35 Move event handling functions outside key events 2016-04-17 11:23:38 +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 818450dfa5 Observe store function - to be implemented 2016-04-14 14:54:47 +01:00
Josh Johnson 9679a42966 Associate options and items 2016-04-14 14:43:36 +01:00
Josh Johnson c7ff02146a Update to do list 2016-04-13 14:43:27 +01:00
Josh Johnson ec5ca95d0d Build 2016-04-13 14:42:23 +01:00
Josh Johnson 3d2e998f34 Use document fragments for generating lists 2016-04-13 14:40:41 +01:00
Josh Johnson 94475e8e1a Correct value when pressing backspace + getter methods 2016-04-13 14:20:08 +01:00
Josh Johnson 6ac55c9e37 Use const instead of let where possible + selecting options 2016-04-12 22:42:56 +01:00
Josh Johnson cd43799258 Less querying of the DOM - use state instead + deselect all items if click outside 2016-04-12 20:16:36 +01:00
Josh Johnson 4947da2b43 Only remove items by object - focus input if click registered within container 2016-04-12 19:45:41 +01:00
Josh Johnson 1f0b0e467f Remove all items refactoring 2016-04-12 14:54:07 +01:00
Josh Johnson 673e937327 Render dropdown from store 2016-04-12 14:31:07 +01:00
Josh Johnson 6d51b5c164 Seperate reducers for dropdown choices and items + callbacks 2016-04-12 14:10:07 +01:00
Josh Johnson 9cbe882c41 Allow for deep merging of objects 2016-04-11 14:51:20 +01:00
Josh Johnson 7dc30abff7 Configurable class names 2016-04-11 14:13:50 +01:00
Josh Johnson f05b49578a Add dropdown items 2016-04-10 22:54:56 +01:00
Josh Johnson c821c923c9 Ability to pass multiple elements to instance 2016-04-10 21:23:42 +01:00
Josh Johnson 210744a301 Test for removeItems options to enable/disable selecting items 2016-04-09 11:55:33 +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 b9bae53e53 Remove item based on value 2016-04-08 09:07:41 +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 64764559f5 Housekeeping 2016-04-04 22:52:49 +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 c4598aeccb Working data entry and removal from store' 2016-03-31 14:51:41 +01:00
Josh Johnson 9f778fffc9 Setup foundation for redux 2016-03-30 15:04:21 +01:00
Josh Johnson 526fe9fd85 Append/prepend value options + ability to filter by regex 2016-03-24 14:42:03 +00:00
Josh Johnson 42e2439c1e Callbacks on adding/removing items 2016-03-23 23:00:32 +00:00
Josh Johnson 53c3af05bd Store key codes in constants 2016-03-22 22:53:34 +00:00