mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-09 07:47:27 +02:00
[#215] added Admin UI Private file option toggle
This commit is contained in:
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" />
|
||||
|
||||
Reference in new issue
Block a user