We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
renderEditForm()
1 parent f83b704 commit 7e1da37Copy full SHA for 7e1da37
deploy/html/editform/editform_bone_bone.html
@@ -1,5 +1,5 @@
1
<input
2
- class="switch-input ignt-input--boolean ignt-input--{{ boneName }}
+ class="ignt-input ignt-input--{{ boneName }}
3
{{ "is-required" if boneParams.required }}
4
{{ "is-readonly" if boneParams.readOnly }}
5
{{ "is-invalid" if boneErrors else "is-valid" }}"
deploy/html/editform/editform_row.html
@@ -11,6 +11,15 @@
11
</label>
12
13
{{ editWidget }}
14
+
15
+ {% if boneErrors %}
16
+ {% for error in boneErrors -%}
17
+ {%- if error.severity.value == 3 or boneParams.required -%}
18
+ <span class="ignt-input-error">{{ error.errorMessage }}</span>
19
+ {%- endif -%}
20
+ {%- endfor %}
21
+ {% endif %}
22
23
</div>
24
{% else %}
25
0 commit comments