completely
completely copied to clipboard
complete.ly.2.0.js
- code upgraded to ES6 (using Lebab)
- added firstLetterUppercase config option, default is false
- added border config option
- added forceValid option (defaults to true) which will make sure that if the user exits ('enter', 'esc' or 'focusout') the value in the input box will be one of list options
- 'first' and ''options' as config options
- added selectionCallback config option called when selection chages
- list items are not bold
- default input color is black
- show dropdown when partial match and only one item
- no scrollbar when only one item
- narrow scrollbar (webkit only)
- hover changes item background like arrow scroll
- open/hide dropdown on click/lost focus (firefox >=52)
- do not highlight first entry if only one
- hide hint if equal to txtInput value where possible
- removed vertical-align:top (caused problem when embedding in outer divs)
- show dropdown even when only one suggestion
- added maxHeight config option
- make sure elements are scrolled into view when pressing down/up
- all changes in https://github.com/lorenzoongithub/completely/pull/35
hi kofifus, Thanks for your work. I will take a look at it and see if I can integrate it. heads up: please be patient it might take me bit (few weeks ?) before I get time.