Ticket #9120 (new enhancement)

Opened 2 years ago

Automatic Population of Drop Down Lists

Reported by: jcleaves Assigned to: anybody
Priority: normal Component: Request-a-Hack
Severity: normal Keywords: automatic populate drop down list
Cc: Trac Release: 0.12

Description

I'm really hoping this isn't a duplicate. I searched on it a few ways and didn't come up with anything. Here's what I'm looking to do:

We have several components with different version numbers. I was hoping to have a method of populating the Version drop down with specific values dependent on the Component chosen.

This would also be useful when choosing Type and allowing only certain Priorities to be selected.

Ex.

Component 1 has versions 2008, 2009, 2010, 2011; Component 2 has version 1, 1.1, 1.2, 2, etc

We want to only allow 2008, 2009, 2010 and 2011 to be selected when the Reporter has chosen Component 1.

I'm pretty sure this can be done, but I didn't want to recreate the wheel if someone else has already done, or at least started, it. If anyone knows of such a project, please post a link.

BTW: I'm running Trac .12 on MySQL in case that makes a difference.

Thanks and great work on everything!

Attachments


Add/Change #9120 (Automatic Population of Drop Down Lists)




Change Properties
Action