Code

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#3262 closed enhancement (wontfix)

[patch] new widgets SelectGrouped SelectMultipleGrouped

Reported by: dummy@… Owned by: adrian
Component: Forms Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Hi,

I made some new widgets which will use optgroup-Tag in select/option-HTML.

Regards,
Dirk

Attachments (2)

newforms-widgets.2.diff (2.7 KB) - added by dummy@… 8 years ago.
update: I found an error in SelectMultipleGroupd widget
forms-tests.2.diff (4.7 KB) - added by dummy@… 8 years ago.
update: I found an error in the test for SelectMultipleGrouped widget

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by dummy@…

update: I found an error in SelectMultipleGroupd widget

Changed 8 years ago by dummy@…

update: I found an error in the test for SelectMultipleGrouped widget

comment:1 follow-up: Changed 7 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

I'll make a judgment call here. I don't think usage of <optgroup> is common enough to merit a built-in Django field type. Feel free to post it on the wiki, though.

comment:2 in reply to: ↑ 1 Changed 7 years ago by Dirk Datzert <dummy@…>

Replying to adrian:

I'll make a judgment call here. I don't think usage of <optgroup> is common enough to merit a built-in Django field type. Feel free to post it on the wiki, though.

I put the code on my private SVN repository: http://django-userlibs.svn.sourceforge.net/viewvc/django-userlibs/trunk/libs.common/src/common/forms/

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.