Hello all,
When using FilteringSelect with the pageSize attribute in Dojo 1.1.1, it creates "More choices"/"Less choices" in the list of options to allow users to scroll through all the options:
<div dojoType="dojo.data.ItemFileReadStore" jsId="stateStore"
url="states.txt"></div>
<input dojoType="dijit.form.FilteringSelect" pageSize="10" class="tundra"
store="stateStore" searchAttr="name" name="addState" id="addState" autocomplete="false" />
url="states.txt"></div>
<input dojoType="dijit.form.FilteringSelect" pageSize="10" class="tundra"
store="stateStore" searchAttr="name" name="addState" id="addState" autocomplete="false" />
Issue:
- When clicking down arrow on FilteringSelect, and pressing "More choices" several times...
- The value in the FilteringSelect is set to Connecticut, Indiana, Minnesota, etc...
- Why is this happening? These options were not chosen. Is this a bug, or a feature?
- I need the FilteringSelect to retain its existing value until a "real" option is selected - this seems like correct behavior. Setting autoComplete="false" does not help. Is there a way to do this within the dojo codebase? Would I need to alter/extend ComboBox/FilteringSelect objects in order to change this?
Thanks for any and all help,
Dan
