[#215] added Admin UI Private file option toggle

This commit is contained in:
Gani Georgiev committed 2023-04-04 21:38:03 +03:00
1 parent ba7000125b
commit cd45854792
33 files changed
+167 -137

No files matched your search

@@ -187,7 +187,9 @@
<slot name="options" {interactive} {hasErrors} />
</div>
<div class="col-sm-4 flex">
<slot name="beforeNonempty" {interactive} {hasErrors} />
<div class="col-sm-4">
<Field class="form-field form-field-toggle m-0" name="requried" let:uniqueId>
<input type="checkbox" id={uniqueId} bind:checked={field.required} />
<label for={uniqueId}>
@@ -205,6 +207,8 @@
</Field>
</div>
<slot name="afterNonempty" {interactive} {hasErrors} />
{#if !field.toDelete}
<div class="col-sm-4 m-l-auto txt-right">
<div class="flex-fill" />