Answered
Autosuggest firing problem
I have a cfform that contains <cfinput autosuggest> and
a <cfinput button submit>. The cfform gets loaded and the
user enters a min of two characters to fire autosuggest. The
drop-down appears, and the user selects a value. The drop-down
collapses normally and the selection is put in the text box. The
user hits the submit button. A div and a grid appear in an adjacent
tablayout and are populated. All of this is behavior I expect.
But when the user subsequently enters another pair of characters, things get weird. The drop-down appears normally but as soon as the user clicks one of the values, something fires immediately -- before the submit button is pressed. The div in the adjacent tablayout does not refresh, but the grid tries to repopulate, and the drop down temporarily freezes up as it collapses back to display the selection in the text box.
Has anyone else seen anything like this?
I'll try to put together a small working example and post it. Hoping someone in the meantime has seen this or knows enough to help.
But when the user subsequently enters another pair of characters, things get weird. The drop-down appears normally but as soon as the user clicks one of the values, something fires immediately -- before the submit button is pressed. The div in the adjacent tablayout does not refresh, but the grid tries to repopulate, and the drop down temporarily freezes up as it collapses back to display the selection in the text box.
Has anyone else seen anything like this?
I'll try to put together a small working example and post it. Hoping someone in the meantime has seen this or knows enough to help.
