From a2633082780e8deefb60c6c75bd29a9eed533265 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Thu, 18 Jun 2020 19:33:20 +0200 Subject: [PATCH] fix(dropdownfield): not rendered Signed-off-by: Thierry Bugier --- inc/fields/dropdownfield.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {