silverstripe-framework/templates/forms/DropdownField.ss
Damian Mooyman 99de74d69e API Add isDisabledValue to SelectField
API Remove deprecated {comma} syntax for multi select string encoded values
API MemberDatetimeOptionsetField now has a fixed preview date
BUG fix inverted arguments in OptionSetField::getOptionClass
2016-01-21 15:40:19 +13:00

10 lines
272 B
Scheme

<select $AttributesHTML>
<% loop $Options %>
<option value="$Value.XML"
<% if $Selected %> selected="selected"<% end_if %>
<% if $Disabled %> disabled="disabled"<% end_if %>
><% if $Title %>$Title.XML<% else %>&nbsp;<% end_if %>
</option>
<% end_loop %>
</select>