Skip to content

Commit

Permalink
fix(dropdownfield): not rendered
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Jun 18, 2020
1 parent fb2a195 commit a263308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/fields/dropdownfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit a263308

Please sign in to comment.