Skip to content

Commit

Permalink
#1860 [Question] fix : supress trunc and add maxwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-kilyan committed Aug 28, 2024
1 parent be287ae commit 5323e8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/question/question_list.php
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,10 @@
if (is_array($sheets) && !empty($sheets)) {
$sheetArray = [];
foreach ($sheets as $sheet) {
$sheetArray[$sheet->id] = dol_trunc($sheet->ref . ' - ' . $sheet->label);
$sheetArray[$sheet->id] = $sheet->ref . ' - ' . $sheet->label;
}
$formQuestion = [
['type' => 'select', 'name' => 'sheet', 'label' => $langs->trans('Sheet'), 'values' => $sheetArray]
['type' => 'select', 'name' => 'sheet', 'label' => $langs->trans('Sheet'), 'values' => $sheetArray, 'morecss' => 'maxwidth300 maxwidth200onsmartphone']
];
print $form->formconfirm($_SERVER['PHP_SELF'], $langs->trans('ConfirmMassAddQuestion'), $langs->trans('ConfirmMassAddingQuestion', count($toselect)), 'add_questions', $formQuestion, '', 0, 200, 500, 1);
} else {
Expand Down

0 comments on commit 5323e8e

Please sign in to comment.