@sealcode/sealgen 0.15.25 → 0.15.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,6 +33,7 @@ class CheckboxedListInput extends FormFieldControl {
|
|
|
33
33
|
tempstream`<label
|
|
34
34
|
>${this.options.label || this.field.name}</label
|
|
35
35
|
>
|
|
36
|
+
${~valid && fctx.validate ? `<div class="input__error">${message}</div>` : ""}
|
|
36
37
|
<ul>
|
|
37
38
|
${isVisible ? options.map(
|
|
38
39
|
({ value, label }) => tempstream`<li>
|
|
@@ -55,7 +56,6 @@ class CheckboxedListInput extends FormFieldControl {
|
|
|
55
56
|
)}
|
|
56
57
|
</li>`
|
|
57
58
|
) : ""}
|
|
58
|
-
${~valid && fctx.validate ? `<div class="input__error">${message}</div>` : ""}
|
|
59
59
|
</ul>`
|
|
60
60
|
);
|
|
61
61
|
}
|
package/package.json
CHANGED
|
@@ -41,6 +41,9 @@ export class CheckboxedListInput extends FormFieldControl {
|
|
|
41
41
|
tempstream/* HTML */ `<label
|
|
42
42
|
>${this.options.label || this.field.name}</label
|
|
43
43
|
>
|
|
44
|
+
${~valid && fctx.validate
|
|
45
|
+
? `<div class="input__error">${message}</div>`
|
|
46
|
+
: ""}
|
|
44
47
|
<ul>
|
|
45
48
|
${isVisible
|
|
46
49
|
? options.map(
|
|
@@ -66,9 +69,6 @@ export class CheckboxedListInput extends FormFieldControl {
|
|
|
66
69
|
</li>`
|
|
67
70
|
)
|
|
68
71
|
: ""}
|
|
69
|
-
${~valid && fctx.validate
|
|
70
|
-
? `<div class="input__error">${message}</div>`
|
|
71
|
-
: ""}
|
|
72
72
|
</ul>`
|
|
73
73
|
);
|
|
74
74
|
}
|