Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
w2pext
plugin_dbui
Commits
ad3380aa
Commit
ad3380aa
authored
May 08, 2017
by
LE GAC Renaud
Browse files
Update Property.js to fix a bug related to default value.
parent
8294960b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
static/plugin_dbui/src/form/field/Property.js
static/plugin_dbui/src/form/field/Property.js
+7
-1
No files found.
static/plugin_dbui/src/form/field/Property.js
View file @
ad3380aa
...
...
@@ -129,8 +129,14 @@ Ext.define("Dbui.form.field.Property", {
"
use strict
"
;
// NOTE
// 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
.
origin
alValue
;
source
=
value
||
me
.
initi
alValue
||
{}
;
me
.
grid
.
setSource
(
source
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment