You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When giving an Element of Type checkbox to the View-Helper "losFormRow". In Line 175 will the variable $elementString contains already a valid label, example:
I could not reproduce this issue, i have some projects with this module and some form has a checkbox with just 1 label. How are you creating the element?
inside of a factory class i build a new form and taking it from the service manager over a service class:
public function addValidationCheckboxElement($name = "blValidFrom", $label = "hosting_validFrom_btn"){
$oElement = new Checkbox($name);
$oElement->setLabel($label);
$this->add($oElement);
}
When giving an Element of Type checkbox to the View-Helper "losFormRow". In Line 175 will the variable $elementString contains already a valid label, example:
var_dump($elementString); in line 173:
after line 179 a var_dump($markup); will give back:
so on this place happens a double placement of label when the given element is a checkbox.
The text was updated successfully, but these errors were encountered: