option to skip table save confirmation #329

This commit is contained in:
Jan Prochazka
2022-08-07 11:21:08 +02:00
parent 04c37c2b4f
commit f3a7e3af74
7 changed files with 109 additions and 26 deletions

View File

@@ -60,7 +60,8 @@ ORDER BY
tabs={[
{ label: 'General', slot: 1 },
{ label: 'Themes', slot: 2 },
{ label: 'Actions', slot: 3 },
{ label: 'Default Actions', slot: 3 },
{ label: 'Confirmations', slot: 4 },
]}
>
<svelte:fragment slot="1">
@@ -224,6 +225,15 @@ ORDER BY
]}
/>
</svelte:fragment>
<svelte:fragment slot="4">
<div class="heading">Confirmations</div>
<FormCheckboxField name="skipConfirm.tableDataSave" label="Skip confirmation when saving table data (SQL)" />
<FormCheckboxField
name="skipConfirm.collectionDataSave"
label="Skip confirmation when saving collection data (NoSQL)"
/>
</svelte:fragment>
</TabControl>
</FormValues>