#3129 closed defect (fixed)
dijit.form.Select fails when a labelAttr other than "name" is specified.
Reported by: | guest | Owned by: | haysmark |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Dijit - Form | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
It fails. The dropdown simply doesn't appear, despite the fact that the JSON data contains, for each item, a dictionary entry with the correct name.
The keyAttr parameter can be changed alright.
Change History (4)
comment:1 Changed 14 years ago by
Component: | General → Dijit |
---|---|
Milestone: | → 0.9 |
Owner: | changed from anonymous to haysmark |
comment:2 Changed 14 years ago by
Status: | new → assigned |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [8729]) Fixes #1176, #1740, #3032, #3086, #3095, #3101, #3129. Proxy commit for haysmark. Code reviewed by bill and doughays. Support for page up/down in AutoCompleterMenu?. setTextValue refactored to setDisplayedValue. Added key handler for DropDownTextBox? so DateTextbox? has basic key support. InlineEditBox? now sets isEmpty to false when the input is indeed nonempty. DropDownTextBox? no longer hides MasterTooltip? if it is already hidden. Updated test_InlineEditBox DateTextbox? and Select widgets to use the correct attributes. Cleaned up test_AutoCompleter and test_Select attributes. Consolidated onkeypress page up/down with arrow up/down. Fixed several code-style issues.
comment:4 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
See the Select demo for an example of a labelAttr="label": http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/form/test_Select.html
For Select to work, you need these two attributes:
If you do not have these two attributes, Select cannot work.
Also, right now labelType is not working so currently if you do not set it to "html" the labels will not replace the searchAttr text. Fix coming soon.