dijit.form.FilteringSelectinitial initial value always null.
Posted
by jiggs
on Stack Overflow
See other posts from Stack Overflow
or by jiggs
Published on 2010-04-14T09:08:51Z
Indexed on
2010/04/14
9:13 UTC
Read the original article
Hit count: 265
I'm using QueryReadStore as data and displaying the widget using the declarative way.
My store looks like this:
<div style="display:none" jsId="role_store" url="some/url/here"
requestMethod="post" dojoType="dojox.data.QueryReadStore"></div>
My widget is like this:
<input dojoType="dijit.form.FilteringSelect"
id="role_id"
name="role_name"
required="false"
store="role_store"
value="100"
searchAttr="description">
Scenario:
- store is declared inside the HTML page.
- widget is loaded using parse.parse in the javascript.
Issue:
At first click no displayed value on the widget. But at the second click, values are displayed right.
© Stack Overflow or respective owner