Opened 11 years ago

Closed 11 years ago

#12664 closed defect (worksforme)

ComboBox autoComplete replaces my input with "More Choices"

Reported by: oes Owned by: Douglas Hays
Priority: high Milestone: tbd
Component: Dijit - Form Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:


I use ComboBox? with a QueryReadStore? and when I input something that doesn't return any suggestions form the store my input should stay as is with no auto completion. But the ComboBox? replaces my input with "More Choices".

Attachments (1)

dojo-1.6.0-dijit.form.ComboBox.patch (674 bytes) - added by oes 11 years ago.
patch fixes the issue

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by oes

patch fixes the issue

comment:1 Changed 11 years ago by oes

I'm not sure if this is the right fix, it would probably be better to inspect the result of the query and if there are no items returned don't attempt any autocompletion. But since I'm unfamiliar with the code I didn't investigate if/how this could be done.

comment:2 Changed 11 years ago by Douglas Hays

Please append a standalone testcase. I tried dijit/tests/form/test_ComboBox.html and it is working for me. Half way down the page is an autoComplete=true + pageSize=30 example that seems to be working correctly. I changed pageSize to 3 just to make More Choices appear more frequently and then I typed "a", then appended "z" and the input said Az which was invalid and matched nothing.

comment:3 Changed 11 years ago by Douglas Hays

Resolution: worksforme
Status: newclosed

Please reopen if recreate steps and a testcase are appended.

Note: See TracTickets for help on using tickets.