Is there any way to hide/show suggestions on each input?
Hi Everyone,
is there any way to briefly hide the suggestions dropdown on each input like briefly hiding it on each letter entered in the input field.
Thanks, Richard
Wow sound like nasty feature, I would not like my dropdowns to behave that way.
You can actually access the typeahead dropdown open/close methods using jquery.
If your input box has the id 'nasty' then you could open it with this command
$('#nasty').data('ttView').dropdownView.open();
and close it by:
$('#nasty').data('ttView').dropdownView.close();
To get this open closing to work on key up you could attach keyup event to your input control and from there use timeout function to do the reopen.
Hi,
thanks so much for those commands. As I use the dropdown on IPHONE/Smartphone I needed a way to show the input box where the dropdown appears. I fully agree with you that it would have been a little nasty so I solved it by giving the input box a higher z-index. Again, very usefull command.