Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#10289 closed defect (fixed)

dijit.form.Select always disabled

Reported by: Mike Wilcox Owned by: bill
Priority: blocker Milestone: 1.4
Component: Dijit - Form Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description

After a revision of around 20733, the diji.form.Select broke. The dijit tests work, but none of the Selects in my app do. I tried to track down the exact reason but could not. It would appear the cause is from using setStore. When doing this, the widget does not recover, even when calling attr("disabled", false) with a timeout.

Attaching a test case.

Attachments (1)

drop.html (1.5 KB) - added by Mike Wilcox 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by Mike Wilcox

Attachment: drop.html added

comment:1 Changed 10 years ago by bill

Owner: changed from dante to bill
Status: newassigned

Yah, I broke when select starts out w/no options and then the options are added later, I'll fix that.

comment:2 Changed 10 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [20741]) Intermediate checkin to get Select working again for when items are added to the drop down after the select has been created. Also remove special readonly handling for 1-item in the drop down, to better match normal select behavior. Refs #10274, fixes #10289 !strict.

comment:3 Changed 9 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.