Skip to content
Snippets Groups Projects
Commit 591b399d authored by Antoine Dupré's avatar Antoine Dupré
Browse files

fix comment form auto eval

parent 408e30f6
No related branches found
No related tags found
No related merge requests found
Pipeline #15591 passed
......@@ -17,7 +17,11 @@ tzcld-autoeval {
font-size: 16px;
font-weight: 800;
}
[name="evaluation_point_answer"] {
solid-form solid-form-dropdown-label select {
padding: 12px 40px 12px 14px;
}
}
}
......
......@@ -207,7 +207,7 @@ core.Sib.register({
empty() {
//console.debug();
this.element.innerHTML = "<div>rrrrr></div>";
this.element.innerHTML = "";
},
async populate() {
......@@ -256,7 +256,7 @@ core.Sib.register({
<solid-form solid-resource fields="${field_name}" data-src="${await tzcldprofile.answer['@id']}"
widget-${field_name}="solid-form-dropdown-label"
range-${field_name}="${apiUrl}${await tzcldPoint.point.fieldType}/"
class-${field_name}="segment margin-bottom-none full padding-left-small sm-padding-none text-xlarge text-semibold text-color-heading"
class-${field_name}="segment margin-bottom-none full padding-left-small padding-right-small sm-padding-none text-xlarge text-semibold text-color-heading"
label-${field_name}=" "
class-submit-button=""
autosave
......@@ -331,12 +331,14 @@ core.Sib.register({
</div>
</div>
<div class="segment half padding-small text-top">
<solid-display
data-src="\${value}"
fields="comment"
widget-comment="solid-display-div"
editable-comment
></solid-display>
<solid-form
solid-resource bind-resources fields="comment" class="form" data-src="\${value}"
widget-comment="solid-form-textarea-label"
label-comment=" "
class-comment="segment margin-bottom-medium full sm-full padding-right-small sm-padding-none text-small text-semibold text-color-heading whitespace-normal text-xlarge"
class-submit-button="hidden"
autosave
></solid-form>
</div>
</div>
</template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment