With 2.1 a drop down didn’t appear until something was typed. With 2.1.1 the drop down appears as soon as the user enters the field.
Which is fine except in this circumstance. I have a typeahead field with an onFocusGained method that, depending on circumstances, will display a user message and switch focus to a different field.
This leaves the drop down still in place, even though focus has shifted. Definitely disconcerting. I’ve unsuccessfully tried several tricks to prevent the dropdown from displaying in the wrong field.
I’m just learning, here, so the bug could be the user on the keyboard, but…
It also appears that as soon as that drop down appears, the field both loses focus and records a data change. I tried to set up a method to run when the typeahead field was edited, but with either trigger, when the drop-down box appeared (after the first matching letter was typed) the method fired.
Is this intended functionality? If so, how can I reliably trigger a method when that typeahead field is changed?
Here’s the scenario, in case it helps: on a Contacts form, I want the user to enter the Company. If the company exists, it will link using the typeahead. If, however, the user enters a value not found in Companies, the method will go create that company, and bring back the appropriate key.