mirror of
https://github.com/frappe/books.git
synced 2024-11-09 23:30:56 +00:00
fix: CommonForm error
- dont use computed fields
This commit is contained in:
parent
19aa0d949a
commit
0b439c4429
@ -143,7 +143,6 @@
|
||||
"fieldname": "makeAutoPayment",
|
||||
"label": "Make Payment On Submit",
|
||||
"fieldtype": "Check",
|
||||
"computed": true,
|
||||
"default": false,
|
||||
"readOnly": false,
|
||||
"tab": "Settings"
|
||||
|
@ -357,9 +357,8 @@ export default defineComponent({
|
||||
|
||||
const group = this.groupedFields.get(this.activeTab);
|
||||
if (!group) {
|
||||
throw new ValidationError(
|
||||
`Tab group ${this.activeTab} has no value set`
|
||||
);
|
||||
const tab = [...this.groupedFields.keys()][0];
|
||||
return this.groupedFields.get(tab) ?? new Map();
|
||||
}
|
||||
|
||||
return group;
|
||||
|
Loading…
Reference in New Issue
Block a user