fixed label for required multi-values
This commit is contained in:
parent
06136f1d5f
commit
8cc6564540
|
@ -1302,7 +1302,7 @@ abstract class baseModule {
|
||||||
natcasesort($values);
|
natcasesort($values);
|
||||||
$values = array_values($values);
|
$values = array_values($values);
|
||||||
if ($label !== null) {
|
if ($label !== null) {
|
||||||
$labelTextOut = new htmlOutputText($label);
|
$labelTextOut = new htmlOutputText($label, true, $required);
|
||||||
$labelTextOut->alignment = htmlElement::ALIGN_TOP;
|
$labelTextOut->alignment = htmlElement::ALIGN_TOP;
|
||||||
$container->addElement($labelTextOut);
|
$container->addElement($labelTextOut);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue