fix in data field, when field value is undefined, insert it as blank in dom
This commit is contained in:
parent
ff25dfac46
commit
0611ce0123
1 changed files with 2 additions and 2 deletions
|
|
@ -412,9 +412,9 @@ DataField.prototype.make_input = function() {
|
|||
|
||||
if(me.validate) {
|
||||
val = me.validate(val);
|
||||
me.input.value = val;
|
||||
me.input.value = val==undefined ? '' : val;
|
||||
}
|
||||
|
||||
|
||||
me.set(val);
|
||||
if(me.format_input)
|
||||
me.format_input();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue