Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#1056 closed defect (invalid)

ComboBox - backspacing all text out results in another call to server for empty search argument

Reported by: guest Owned by: anonymous
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: ComboBox Cc:
Blocked By: Blocking:


I am using the incrementalComboBoxDataProvider with a searchDelay of 350.

After searching for "smith," the results are returned ok in the type-ahead and list.

But if I quickly back space out the characters (with an approximately 1 second pause after removing the last character) and then quickly type "smith," again, the ComboBox? text correctly shows ""smith,Adolphus" but the list shows the names starting with the letter "A".

In this case I noticed two server requests and the output from the server is as follows: 1) search value ="smith," and list = "Smith I,Daniel James", ... 2) search value ="" and list = "A'aguilar,Eleonora E", ...

Apparently when I backspace out the text (with a pause after the last character) the widget will make another (delayed) request to the server for an empty value, which then returns the names starting with "A" because it matched the like % clause in my SQL.

The widget should not make another call to the server when you backspace all the text out.

Change History (5)

comment:1 Changed 16 years ago by guest

I entered the above ticket but I am not working on it. Please assign it to someone to fix. [email protected]

comment:2 Changed 16 years ago by [email protected]

I would like to add that the steps that I followed to consistently recreate this problem, upon demand are:

1) first enter "s" and I get "saa,Edward" in the textbox and list 2) backspace out "s" and I get "A'agular,Eleonora E" in the list 3) type in "smith," and I incorrectly get get "smith,I,Daniel James" in the textbox

I would also like to add that type-ahead behavior is important to us and becuase it does not work properly we cannot use the Dojo ComboBox? widget until this issue is fixed.

comment:3 Changed 16 years ago by [email protected]

Please note that my prior comment goes with ticket#1057 and I typed it into #1056 by accident.

Also note that both of these tickets are related to problems I am expericing with using the ComboBox? to make search calls to server after 350 millisecond delay.

Thank you.


comment:4 Changed 16 years ago by guest

Resolution: invalid
Status: newclosed

comment:5 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.