Opened 10 years ago

Closed 6 years ago

#10761 closed enhancement (patchwelcome)

support optgroup in FilteringSelect and ComboBox

Reported by: anno Owned by: Douglas Hays
Priority: high Milestone: 1.9
Component: Dijit - Form Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:

Description

I would be great that Dojo supports "optgroup" tags like you would not use Dojo framework.

example:

<select name="Namen" size="6">
      <optgroup label="Namen mit A">
        <option label="Anna">Anna</option>
        <option label="Achim">Achim</option>
        <option label="August">August</option>
      </optgroup>
</select>

I tested it with code from this page of dojo page but this doesn't work if I want use "optgroup" tags

Change History (6)

comment:1 Changed 10 years ago by bill

Component: GeneralDijit
Milestone: tbdfuture
Owner: anonymous deleted

There was a request about this way back in #1887.

It seems like this feature would work better on dijit.form.Select than on dijit.form.FilteringSelect, since the main purpose of FilteringSelect is to filter results based on typed string, at which point the grouping might be difficult.

comment:2 Changed 9 years ago by Jonathan Bond-Caron

I've done some work on this in #11167

It could work on dijit.form.Select, dijit.form.FilteringSelect? and dijit.form.ComboBox?

comment:3 Changed 8 years ago by bill

Component: DijitDijit - Form
Owner: set to Douglas Hays

comment:4 Changed 8 years ago by Karl Tiedt

Summary: support optgroup in FilteringSelect and ComboBox[cla] [patch] support optgroup in FilteringSelect and ComboBox

Patch and ticket from person who has a CLA on file can be found here at ticket #11167

comment:5 Changed 7 years ago by bill

#16653 is a duplicate of this ticket.

comment:6 Changed 6 years ago by dylan

Milestone: future1.9
Resolution: patchwelcome
Status: newclosed
Summary: [cla] [patch] support optgroup in FilteringSelect and ComboBoxsupport optgroup in FilteringSelect and ComboBox

We would need an updated patch to consider this for 1.10. Given the lack of activity, I'm closing it. Feel free to reopen with an updated patch if interested in seeing this feature.

Note: See TracTickets for help on using tickets.