未验证 提交 a917b322 编写于 作者: C catouse

* picker: set default value to empty string when it is null.

上级 74a01389
......@@ -224,6 +224,9 @@
// Init values and sync default value
var defaultValue = options.defaultValue !== undefined ? options.defaultValue : $formItem.val();
if (defaultValue === null) {
defaultValue = '';
}
that.setValue(defaultValue, true);
that.setDisabled();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册