id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
5638	Hide fields when there are no supplied options	rjollos	richard	I contacted Richard requesting the enhancement that a field could be hidden when there where no options supplied for that field.  Suppose FieldA has several options, one being OptionA1.  When OptionA1 is selected, suppose there are no options supplied for FieldB.  In that case, FieldB should be hidden.  However, when OptionA2 is selected, FieldB is populated with a number of possible values.  Another example follows in my email below.\r\n\r\n-----Original Message-----\r\nFrom: Richard\r\nSent: Friday, August 07, 2009 2:42 AM\r\nTo: Ryan J Ollos\r\nSubject: Re: TracTicketChainedFieldsPlugin\r\n\r\nOn Fri, Aug 7, 2009 at 3:02 PM, Ryan J Ollos wrote:\r\n> Hello,\r\n>\r\n>\r\n>\r\n> I was just looking at the plug-in that you recently uploaded.  This looks\r\n> like a nice addition to the Trac functionality.\r\n>\r\n>\r\n>\r\n> Quick question: does it have the ability to hide a ticket field when there\r\n> are no options specified for that field?  Or would it be easy to extend to\r\n> have this feature?\r\n>\r\nIt can't do that currently.  It's not very hard to add this feature, I\r\nwill make it soon.\r\n>\r\n>\r\n> For instance, suppose I had the following example:\r\n>\r\n>\r\n>\r\n> {\r\n>\r\n>     "domain": {\r\n>\r\n>         "software": {\r\n>\r\n>             "component": {\r\n>\r\n>                 "acquisition layer": {},\r\n>\r\n>                 "processing layer": {},\r\n>\r\n>                 "driver layer": {}\r\n>\r\n>                 }\r\n>\r\n>          }\r\n>\r\n>         "hardware": {\r\n>\r\n>            "component": { }\r\n>\r\n>          }\r\n>\r\n> }\r\n>\r\n>\r\n>\r\n> I'd want the "component" field to be hidden if "hardware" was selected from\r\n> the "domain" field.\r\n>\r\n>\r\n>\r\n> I've been thinking about working on something like that, but if your plug-in\r\n> could do the trick as is or with a little bit of modification, that would be\r\n> excellent!\r\n>\r\n> Thanks,\r\n>\r\n> -          Ryan\r\n	enhancement	closed	normal	TracTicketChainedFieldsPlugin	normal	fixed			0.11
