[Dojo-interest] FilteringSelect onChange problem

Bill Keese bill at dojotoolkit.org
Tue Jun 14 04:59:36 EDT 2011


Sounds like a bug, feel free to file at bugs.dojotoolkit.org.   We have a
SlowStore (test store) used in the ComboBox/FilteringSelect tests for
checking this kind of thing.   (But guess we didn't check this case).

On Tue, May 31, 2011 at 7:07 PM, midsona <a.midson at optimus2020.com> wrote:

> I have a FilteringSelect that I create as follows:
>
> var op_select = new dijit.form.FilteringSelect({
>    id: "operator_select",
>    name: "op_name",
>    store: op_select_store,
>    searchAttr: "op_code",
>    labelAttr: "list_label",
>    labelType : "html",
>    trim : true,
>    required : false,
>    uppercase : true,
>    onChange : op_select_changed
> },
> "operator_select");
>
> This all works fine and the op_select_changed function gets called
> correctly
> when the value in the text field changes except in the following two cases:
>
> 1. If the user types something in the text field before opening the drop
> down list and tabs out of the field before the AJAX request to load the
> drop
> down list completes.
> 2. If the user deletes the value in the text field having previously
> selected an entry from the drop down list.
>
> I may well be missing something here, but I can't see why my onChange
> function is not being called in these cases. I would really appreciate it
> if
> anyone can shed any light on this.
>
> Regards
>
> Andrew
>
> --
> View this message in context:
> http://dojo-toolkit.33424.n3.nabble.com/FilteringSelect-onChange-problem-tp3005314p3005314.html
> Sent from the Dojo Toolkit mailing list archive at Nabble.com.
> ________________________________________________________
> Dojotoolkit: http://dojotoolkit.org
> Reference Guide: http://dojotoolkit.org/reference-guide
> API Documentation: http://dojotoolkit.org/api
> Tutorials: http://dojotoolkit.org/documentation
>
> Dojo-interest at mail.dojotoolkit.org
> http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-interest/attachments/20110614/72fee4c7/attachment-0001.htm 


More information about the Dojo-interest mailing list