Join GitHub today
onLayoutBuiltBefore: window.Typeahead['#name-match-input']['hintIndex'] returns null #94
I have a setup where the user can search by initials or name. I want to highlight the current hinted selection. In my case the hinted selection isn't always the first selection.
To fix this I do the following in onLayoutBulidBefore:
On entry of the first query letter ('m' above) this line:
For all subsequent letters it returns the correct index.
As a side note I think the hinted selection should be the first one in the list by default- not a big deal really, just a gut feeling.
pushed a commit
Oct 21, 2015
That could definitely be the issue.
Any suggestions on how to handle this?
On Wed, Oct 21, 2015 at 5:20 PM, Tom Bertrand firstname.lastname@example.org
CIQ Labs - ClassroomIQ