add trim to avoid display null as string
This commit is contained in:
parent
3c49361492
commit
b29686ccb8
@ -52,7 +52,7 @@ To create your own input you can inherit from this class.
|
|||||||
@param {DOMElement} element
|
@param {DOMElement} element
|
||||||
**/
|
**/
|
||||||
value2html: function(value, element) {
|
value2html: function(value, element) {
|
||||||
$(element).text(value);
|
$(element).text($.trim(value));
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user