Commit ad3380aa authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update Property.js to fix a bug related to default value.

parent 8294960b
......@@ -129,8 +129,14 @@ Ext.define("Dbui.form.field.Property", {
"use strict";
// The property initalValue is defined by the mixin
// Ext.form.field.Field in the method initValue.
// This property is not public but useful to get the default value
// in sequence like new, actualiser row2, new, ....
var me = this,
source = value || me.originalValue;
source = value || me.initialValue || {};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment