fix in data field, when field value is undefined, insert it as blank in dom

This commit is contained in:
Anand Doshi 2012-05-03 18:21:14 +05:30
parent ff25dfac46
commit 0611ce0123

View file

@ -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();