diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index bc6a71674..e49dbb250 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -418,6 +418,9 @@ this.menu = this._createMenu(this.typeList, function(v) { that.type(v) }); if (currentType && !this.typeMap.hasOwnProperty(currentType)) { this.type(this.typeList[0].value); + } else { + this.propertyType = null; + this.type(currentType); } setTimeout(function() {that._resize();},0); },