mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Render defaults fields in TwoColumnForm
This commit is contained in:
parent
09fe18af5a
commit
b346a61eb9
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="text-sm" :class="{ 'border-t': !noBorder }">
|
||||
<template v-for="df in fields">
|
||||
<template v-for="df in formFields">
|
||||
<FormControl
|
||||
:key="df.fieldname"
|
||||
v-if="df.fieldtype === 'Table'"
|
||||
@ -193,6 +193,9 @@ let TwoColumnForm = {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
formFields() {
|
||||
return this.fields || this.doc.meta.getQuickEditFields();
|
||||
},
|
||||
style() {
|
||||
let templateColumns = (this.columnRatio || [1, 1])
|
||||
.map(r => `${r}fr`)
|
||||
|
Loading…
Reference in New Issue
Block a user