feat(frontend): Add applicationFormTemplate, add list for application froms, refactoring
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user