Skip to content

Commit 9e6e70c

Browse files
Fixes #383
1 parent 22fd990 commit 9e6e70c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/FormulateGrouping.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
>
88
<FormulateRepeatableProvider
99
v-for="(item, index) in items"
10-
:key="item.__id"
10+
:key="index"
1111
:index="index"
1212
:context="context"
1313
:uuid="item.__id"

src/libs/registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export function useRegistryMethods (without = []) {
301301
},
302302
setValues (values) {
303303
// Collect all keys, existing and incoming
304-
const keys = Array.from(new Set(Object.keys(values).concat(Object.keys(this.proxy))))
304+
const keys = Array.from(new Set(Object.keys(values || {}).concat(Object.keys(this.proxy))))
305305
keys.forEach(field => {
306306
const input = this.registry.has(field) && this.registry.get(field)
307307
let value = values[field]

0 commit comments

Comments
 (0)