AddAddress: adding a new stickyActions option

This commit is contained in:
2021-09-17 10:59:06 +02:00
parent f048395a89
commit 331dd286e7
4 changed files with 12 additions and 3 deletions

View File

@@ -13,9 +13,11 @@
* modalTitle twig translated chain
* buttonText twig translated chain
* buttonSize bootstrap class like 'btn-sm'
* buttonDisplayText bool
* buttonDisplayText bool (default: true)
* openPanesInModal bool (default: true)
* stickyActions bool (default: false)
* useValidFrom bool (default: false)
* useValidTo bool (default: false)
#}
<div class="address-container"
@@ -54,6 +56,9 @@
data-open-panes-in-modal="false"
{% endif %}
{% if stickyActions is defined and stickyActions == 1 %}
data-sticky-actions="true"
{% endif %}
{% if useValidFrom is defined and useValidFrom == 1 %}
data-use-valid-from="true"