mirror of
https://github.com/a2nt/silverstripe-mapboxfield.git
synced 2024-10-22 12:05:53 +00:00
FIX: set field attributes using SS way
$mapField->setAttribute('data-style', 'AAAAA');
This commit is contained in:
parent
41ff0e18ae
commit
47a3098088
@ -1,4 +1,4 @@
|
||||
<div id="{$HolderID}" class="form-group field<% if $extraClass %> {$extraClass}<% end_if %>">
|
||||
<div $AttributesHTML>
|
||||
<% if $Title %>
|
||||
<label for="{$ID}" id="title-{$ID}" class="form__field-label">{$Title}</label>
|
||||
<% end_if %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user