Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
I am trying to allow the user to select several values:
var row = new CEditableTableRow(); var options = new Dictionary<String,String>(); options.Add("multiple",null); options.Add("SIZE","7"); row.AddCell(Forms.SelectInput(api.AddPluginPrefix("REPORTCOLUMNS2"), reportColumns().ToArray(), null, reportColumns().ToArray(),options)); row.AddCell("Hello there!"); return row; This generates almost correct HTML: <td > <select name="P13_REPORTCOLUMNS2" multiple="" SIZE="7" ><option value="Start">Start</option><option value="End">End</option><option value="Project">Project</option><option value="Case">Case</option><option value="User">User</option><option value="GrandTotal">GrandTotal</option></select><script>DLCL();</script> </td> BUT: FogBugz seems to ignore the multiple keyword, and renders a select element where only one element can be selected.... Is it a bug, or am I doing something wrong? |
Powered by FogBugz