[#4033] added option to duplicate fields

This commit is contained in:
Gani Georgiev
2024-01-21 20:22:56 +02:00
parent ba56623245
commit f0410a7625
45 changed files with 152 additions and 112 deletions

View File

@@ -18,7 +18,7 @@
}
</script>
<SchemaField bind:field {key} on:rename on:remove {...$$restProps}>
<SchemaField bind:field {key} on:rename on:remove on:duplicate {...$$restProps}>
<svelte:fragment slot="optionsFooter">
<Field class="form-field form-field-toggle" name="schema.{key}.options.convertUrls" let:uniqueId>
<input type="checkbox" id={uniqueId} bind:checked={field.options.convertUrls} />