Opened 12 years ago

Last modified 9 years ago

#10171 closed feature

[patch][cla]collapsible fieldset widget — at Version 5

Reported by: Jens Arps Owned by: bill
Priority: high Milestone: 1.9
Component: Dijit - Form Version: 1.3.2
Keywords: Cc: nonken
Blocked By: Blocking:

Description (last modified by Eugene Lazutkin)

A proposal for a collapsible fieldset widget.

It inherits from TitlePane, so it is accessible and brings all ContentPane goodness. The code is dead-simple, but it's missing and I think many people would like to use such a widget.

A test page is over here:

Change History (6)

Changed 12 years ago by Jens Arps

Attachment: fieldset.patch added

patch including the Fieldset.js file and it's template

comment:1 Changed 12 years ago by Jens Arps

Uh, it seems like I should have put [patch][cla] in the title, but I can't change it anymore. Sorry about that.

comment:2 Changed 12 years ago by liucougar

Summary: collapsible fieldset widget[patch][cla]collapsible fieldset widget

comment:3 Changed 12 years ago by liucougar

the patch does not have any css changes, is that required by the widget to function properly?

comment:4 Changed 12 years ago by Jens Arps

Thanks for changing the title.

No, there's no CSS required for the widget to work. To change the plus/minus chars into images, a theme had to copy the .dijitArrowNode rules from the TitlePane? to Fieldset.

comment:5 Changed 12 years ago by Eugene Lazutkin

Description: modified (diff)
Owner: set to bill
Note: See TracTickets for help on using tickets.