feat(frontend): Add applicationFormTemplate, add list for application froms, refactoring

This commit is contained in:
2025-03-08 17:38:00 +01:00
parent 59a8c5d900
commit 8b800432ad
11 changed files with 279 additions and 42 deletions

View File

@@ -1,11 +1,14 @@
<template>
<div v-for="(formElement, index) in props.modelValue" :key="formElement.id">
<component
:is="getResolvedComponent(formElement)"
:form-options="formElement.options"
@update:form-options="updateFormOptions($event, index)"
/>
</div>
<template v-for="(formElement, index) in props.modelValue" :key="formElement.id">
<UFormField>
<component
:is="getResolvedComponent(formElement)"
:form-options="formElement.options"
@update:form-options="updateFormOptions($event, index)"
/>
</UFormField>
<USeparator />
</template>
</template>
<script setup lang="ts">