Login Register

FilteringSelect without a initial store.

Dear List,
I'm currently migrating from 1.0. to 1.1 and I'm struggling with the following. I have two filterungselect's. The DataStore of the second one is set depening of the value that is selected in der first one. Therefor I'm creating the second FilteringSelect without a initial DataSore being set.

fselect = new dijit.form.FilteringSelect({style: "width:175px;margin-top:5px",name: "fl", autocomplete: false, onChange:this.getZN});

This worked fine in 1.0 but not in 1.1. The error is

"root has no properties" in dojo.js line 1072.

Is anybody aware of some solution or workaround? Any held is appreciated.

best regards,
Oliver

*UPDATE*
Everything's fine if I use the following

fselect = new dijit.form.FilteringSelect({style: "width:175px;margin-top:5px",name: "fl", autocomplete: false, onChange:this.getZN,store:new dojo.data.ItemFileReadStore({})});