mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-18 03:58:15 +02:00
[#872] changed the schema required validator to be optional for auth collections
This commit is contained in:
1 parent
4528f075dc
commit
6e9cf986c5
45 files changed
+1166
-445
No files matched your search
@@ -333,7 +333,10 @@
|
||||
|
||||
{#if collection?.isAuth}
|
||||
<AuthFields bind:record {collection} />
|
||||
<hr />
|
||||
|
||||
{#if collection?.schema?.length}
|
||||
<hr />
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
{#each collection?.schema || [] as field (field.name)}
|
||||
@@ -364,10 +367,6 @@
|
||||
{:else if field.type === "relation"}
|
||||
<RelationField {field} bind:value={record[field.name]} />
|
||||
{/if}
|
||||
{:else}
|
||||
<div class="block txt-center txt-disabled">
|
||||
<h5>No custom fields to be set</h5>
|
||||
</div>
|
||||
{/each}
|
||||
</form>
|
||||
|
||||
|
||||
Reference in new issue
Block a user