Skip to content

Commit 3046778

Browse files
author
edencoder
committed
fix fields
1 parent cb98e52 commit 3046778

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/form/views/eden/fields.riot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@
359359
*/
360360
getData() {
361361
// get data
362-
this.data = this.props.data || this.form.get('data') || {};
362+
this.data = this.props.data || (this.form && this.form.get ? this.form.get('data') : {}) || {};
363363
364364
// return data
365365
return this.data;

0 commit comments

Comments
 (0)