N°3520 - Add missing data-role on UIBlocks

This commit is contained in:
Molkobain
2021-09-30 22:07:39 +02:00
parent a139dc7e6e
commit ae6f8fba5c
27 changed files with 40 additions and 35 deletions

View File

@@ -3,6 +3,7 @@
{% block iboInput %}
<input type="{{ oUIBlock.GetType() }}" id="{{ oUIBlock.GetId() }}" name="{{ oUIBlock.GetName() }}" value="{{ oUIBlock.GetValue()|raw }}"
class="ibo-input {% if oUIBlock.IsHidden() %} ibo-is-hidden{% endif %}{% if oUIBlock.GetAdditionalCSSClassesAsString() %} {{ oUIBlock.GetAdditionalCSSClassesAsString() }}{% endif %}"
data-role="ibo-input"
{% if oUIBlock.IsChecked() %} checked="checked"{% endif %}
{% if oUIBlock.IsDisabled() %} disabled{% endif %}
{% if oUIBlock.IsReadonly() %} readonly{% endif %}