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
