mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
1db08bac88
BUG Fix TreeMultiSelectField using the wrong label BUG Fix encoding of selected title on TreeDropdownField BUG Fix DataDifferencer trying to compare non-comparable fields (non-dbfield objects) BUG: Fix issue with TreeMultiSelectField not saving BUG: Fix issue with GridFieldPrintButton ENHANCEMENT Instead of using multiple api calls to encode dbfield values, delegate this operation to the individual fields via forTemplate Instead of using a new API to communicate html encoding to treeselect, just ensure all content is HTML encoded, and enable html_titles in jstree.
9 lines
421 B
Scheme
9 lines
421 B
Scheme
<div id="TreeDropdownField_$ID"
|
|
class="TreeDropdownField <% if $extraClass %> $extraClass<% end_if %><% if $ShowSearch %> searchable<% end_if %>"
|
|
data-url-tree="$Link('tree')"
|
|
data-title="$Title.ATT"
|
|
<% if $Description %>title="$Description.ATT"<% end_if %>
|
|
<% if $Metadata %>data-metadata="$Metadata.ATT"<% end_if %>>
|
|
<input id="$ID" type="hidden" name="$Name.ATT" value="$Value.ATT" />
|
|
</div>
|