fix(core): update
This commit is contained in:
@ -104,6 +104,9 @@ export class DeesForm extends DeesElement {
|
||||
const children = this.getFormElements();
|
||||
const valueObject: { [key: string]: string | number | boolean } = {};
|
||||
for (const child of children) {
|
||||
if (!child.key) {
|
||||
console.log(`form element with label "${child.label}" has no key. skipping.`);
|
||||
}
|
||||
valueObject[child.key] = child.value;
|
||||
}
|
||||
return valueObject;
|
||||
|
Reference in New Issue
Block a user