Skip to content

Commit b50ec13

Browse files
committed
Checkbox could have required property
1 parent 7099ecf commit b50ec13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PFBC/Element/Checkbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function render() {
2424
$value = $this->getOptionValue($value);
2525

2626
echo '<label class="', $labelClass, '">';
27-
echo '<input id="', $this->_attributes["id"], '-', $count, '"', $this->getAttributes(array("id", "class", "value", "checked", "required")), ' value="', $this->filter($value), '"';
27+
echo '<input id="', $this->_attributes["id"], '-', $count, '"', $this->getAttributes(array("id", "class", "value", "checked")), ' value="', $this->filter($value), '"';
2828
if(in_array($value, $this->_attributes["value"]))
2929
echo ' checked="checked"';
3030
echo '/> ', $text, ' </label> ';

0 commit comments

Comments
 (0)