use the presentable prop when displaying relations

This commit is contained in:
Gani Georgiev committed 2023-08-21 18:06:35 +03:00
1 parent 26fd3d48df
commit f0af24d78f
8 files changed
+32 -77

No files matched your search

@@ -216,7 +216,21 @@
text: `Requires the field value NOT to be ${CommonHelper.zeroDefaultStr(
field
)}.`,
position: "right",
}}
/>
</label>
</Field>
</div>
<div class="col-sm-4">
<Field class="form-field form-field-toggle m-0" name="presentable" let:uniqueId>
<input type="checkbox" id={uniqueId} bind:checked={field.presentable} />
<label for={uniqueId}>
<span class="txt">Presentable</span>
<i
class="ri-information-line link-hint"
use:tooltip={{
text: `Whether the field should be preferred in the Admin UI relation listings.`,
}}
/>
</label>