Skip to content

Conversation

@kofifus
Copy link

@kofifus kofifus commented Mar 22, 2017

  • 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 Wrapper width limit fix and some fixes from others #35

Demo in https://plnkr.co/edit/NPTJmxtOxbKEl6Kg3xrk

- code upgraded to ES6 (using Lebab)
- added caseSensitive config option, default is false
- 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 change bitem background
- moved options as argument to completely function
- open/hide dropdown on fous/lost focus (firefox >=52)
- do not highlight first entry if only one
- all changes in lorenzoongithub#35
@lorenzoongithub
Copy link
Owner

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.

kofifus added 7 commits March 23, 2017 12:35
completely can now be started with an initial 'first' value

added forceValid option (defaults to true) which will make sure that if the user exits ('ebter', 'esc' or 'focusout') the value in the input box will be one of list options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants