diff --git a/inc/fields/dropdownfield.class.php b/inc/fields/dropdownfield.class.php index af5cefc9b..fcda3998f 100644 --- a/inc/fields/dropdownfield.class.php +++ b/inc/fields/dropdownfield.class.php @@ -284,7 +284,7 @@ public function getRenderedHtml($canEdit = true) { if (isset($emptyItem->fields['otherserial'])) { $dparams['displaywith'][] = 'otherserial'; } - $itemtype::dropdown($dparams); + $html .= $itemtype::dropdown($dparams + ['display' => false]); } $html .= PHP_EOL; $html .= Html::scriptBlock("$(function() {