appinstall: update form building with new component handling

This commit is contained in:
axolotle 2022-10-03 17:14:47 +02:00
parent af2b50d2c0
commit 1bacb6c1df

View file

@ -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>