#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: |
Description
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
comment:2 Changed 16 years ago by
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
comment:4 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
I entered the above ticket but I am not working on it. Please assign it to someone to fix. [email protected]…