Index: trunk/extensions/SemanticForms/includes/SF_FormPrinter.inc |
— | — | @@ -1174,7 +1174,8 @@ |
1175 | 1175 | // set field to be a list if that was specified in the form definition |
1176 | 1176 | if ($form_field->is_list) { |
1177 | 1177 | $other_args['is_list'] = true; |
1178 | | - $other_args['size'] = 100; |
| 1178 | + if (! array_key_exists('size', $other_args)) |
| 1179 | + $other_args['size'] = 100; |
1179 | 1180 | } |
1180 | 1181 | if ($form_field->possible_values != null) |
1181 | 1182 | $other_args['possible_values'] = $form_field->possible_values; |