Skip to content

Commit

Permalink
Merge pull request #40 from jeckyl/patch-2
Browse files Browse the repository at this point in the history
Fix radio buttons fields selection
  • Loading branch information
nliautaud authored Nov 12, 2018
2 parents 0bddfba + 9283dd3 commit 493d282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p01-contact/src/P01contact_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public function html()
$v = !empty($v) ? $v : 'Default';
$html .= '<label class="option">';
$html .= "<input id=\"{$id}_option{$i}\"";
$html .= " type=\"$type\" class=\"$type\" name=\"{$name}[$i]\"";
$html .= " type=\"$type\" class=\"$type\" name=\"{$name}\"";
$html .= " value=\"$i\"$disabled$required$selected />$v";
$html .= '</label>';
}
Expand Down

0 comments on commit 493d282

Please sign in to comment.