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"
|
@submit.prevent="performInstall"
|
||||||
>
|
>
|
||||||
<template v-for="(field, fname) in fields">
|
<template v-for="(field, fname) in fields">
|
||||||
<form-field
|
<component
|
||||||
v-if="field.visible" :key="fname" label-cols="0"
|
v-if="field.visible" :is="field.is" v-bind="field.props"
|
||||||
v-bind="field" v-model="form[fname]" :validation="$v.form[fname]"
|
v-model="form[fname]" :validation="$v.form[fname]" :key="fname"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</card-form>
|
</card-form>
|
||||||
|
|
Loading…
Reference in a new issue