+{#if editable && inEditMode}
+
+
{endEdit()}}
+ >
+
+
-
-
-
-
-
-
-
+
+
+
-
-
+
+
+
+
+
- {#if componentTypeWithSublabels.has(config.type)}
-
- {/if}
- {#if componentTypeWithOptions.has(config.type)}
-
-
Options
-
+ {#if componentTypeWithSublabels.has(config.type)}
+
+ {/if}
+
+ {#if componentTypeWithOptions.has(config.type)}
+
+ {/if}
+
+ {#if config.type === "text"}
+
+
+
- {/if}
-
- {#if config.type === "text"}
-
-
-
- {/if}
-
-
-
-
- Required
-
-
-
-
-
+ {/if}
+ {#if config.type === "textarea"}
+
+
+ {@render enforceMaxChar()}
+
+ {/if}
+
+
+ Required
+
+
+
+
+
+
+
+
+{:else if editable && !inEditMode}
+
{event.preventDefault(); beginEdit()}}
+ >
+
+
+
+
+{:else}
+
+{/if}
- {:else if editable && !inEditMode}
-
{event.preventDefault(); onEditRequest(true)}}>
-
-
-
-
- {:else}
-
- {/if}
-