[#976] added optional RelationOptions.DisplayFields and refactored the relation picker UI

This commit is contained in:
Gani Georgiev
2023-01-23 21:57:35 +02:00
parent 4c73e16f54
commit 4c010847e3
106 changed files with 1845 additions and 981 deletions
@@ -233,7 +233,7 @@
<svelte:fragment slot="footer">
{#if !admin.isNew}
<button type="button" class="btn btn-sm btn-circle btn-secondary">
<button type="button" class="btn btn-sm btn-circle btn-transparent">
<!-- empty span for alignment -->
<span />
<i class="ri-more-line" />
@@ -247,7 +247,7 @@
<div class="flex-fill" />
{/if}
<button type="button" class="btn btn-secondary" disabled={isSaving} on:click={() => hide()}>
<button type="button" class="btn btn-transparent" disabled={isSaving} on:click={() => hide()}>
<span class="txt">Cancel</span>
</button>
<button
@@ -86,6 +86,7 @@
extraAutocompleteKeys={["email"]}
on:submit={(e) => (filter = e.detail)}
/>
<div class="clearfix m-b-base" />
<HorizontalScroller class="table-wrapper">
<table class="table" class:table-loading={isLoading}>