Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#5359 closed enhancement (fixed)

select type widgets should support native size and multiple attributes

Reported by: Douglas Hays Owned by: bill
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Neither ComboBox? nor FilteringSelect? support the size and multiple attributes that can be set using a native html select.

Change History (11)

comment:1 Changed 14 years ago by bill

Hi guys, there was a recent discussion ( about having such a multi-select widget, but I figured it would be a different widget, rather than part of ComboBox / FilteringSelect. It doesn't seem like the filtering capability is needed along with multi-select, and I'm not sure how the interface would look/work. I figured we'd just have something that looks like the native multi-select, but with the ability to add images and custom HTML to each choice.

Anyway let's discuss it some before implementing anything.

comment:3 Changed 14 years ago by dante

(In [12012]) refs #4408, #5359, #5550 - adds semantic degradable textarea, select, and hidden input types that work with dijit.form.Form

comment:4 Changed 14 years ago by bill

Hi. That looks like a good start and worthy of adding to dijit now; eventually I'd like the multi-select widget to support rich text (ie, HTML embedded in each option tag), which will require a complete rearchitecture, including a11y support. (Currently a11y should work transparently since you are using a native <select> node as your template.)

comment:5 Changed 14 years ago by bill

Owner: changed from haysmark to bill
Status: newassigned

OK, I'm moving/porting this over from Peter's widget in dojox.

comment:6 Changed 14 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [12182]) Move dojox.widget.Select to dijit.form.MultiSelect?. Also refactors the code and fixes some bugs. Fixes #5359.

comment:7 Changed 14 years ago by bill

(In [12183]) Update dijit.form.Form to handle MultiSelect?. Refs #5359.

comment:8 Changed 14 years ago by bill

(In [12189]) "Hidden" widget, copied over from dojox. The "Hidden" widget is basically equivalent to <input dojoType="dijit.form.TextBox?" type="hidden"> but with less overhead; not sure if it's worth having a separate widget for hidden input fields but adding for now. Fixes #5700.

Also checking in forgotten updates to Form test for MultiSelect?. Refs #5359.

comment:9 Changed 14 years ago by bill

(In [12210]) Remove dojox.FormWidgets? since they've been moved to dijit. Refs #5359, #5550, #5700

comment:10 Changed 14 years ago by bill

(In [13096]) Must have isDebug: true to display firebug-lite console so can see results of "getValue()" button. Refs #5359.

comment:11 Changed 11 years ago by bill

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