mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
appinstall: update form building with new component handling
This commit is contained in:
parent
af2b50d2c0
commit
1bacb6c1df
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@
|
|||
@submit.prevent="performInstall"
|
||||
>
|
||||
<template v-for="(field, fname) in fields">
|
||||
<form-field
|
||||
v-if="field.visible" :key="fname" label-cols="0"
|
||||
v-bind="field" v-model="form[fname]" :validation="$v.form[fname]"
|
||||
<component
|
||||
v-if="field.visible" :is="field.is" v-bind="field.props"
|
||||
v-model="form[fname]" :validation="$v.form[fname]" :key="fname"
|
||||
/>
|
||||
</template>
|
||||
</card-form>
|
||||
|
|
Loading…
Reference in a new issue