We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e55feca + 1de0030 commit b319010Copy full SHA for b319010
templates/SilverStripe/Forms/OptionsetField.ss
@@ -1,7 +1,7 @@
1
<ul $AttributesHTML>
2
<% loop $Options %>
3
<li class="$Class" role="$Role">
4
- <input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> />
+ <input id="$ID" class="radio" name="$Name" type="radio" value="$Value"<% if $isChecked %> checked<% end_if %><% if $isDisabled %> disabled<% end_if %> <% if $Up.Required %>required<% end_if %> />
5
<label for="$ID">$Title</label>
6
</li>
7
<% end_loop %>
0 commit comments