diff --git a/editor/js/ui/common/typedInput.js b/editor/js/ui/common/typedInput.js index 5803b290d..304a0da35 100644 --- a/editor/js/ui/common/typedInput.js +++ b/editor/js/ui/common/typedInput.js @@ -354,10 +354,27 @@ return this.element.val(); } else { if (this.typeMap[this.propertyType].options) { - if (this.typeMap[this.propertyType].options.indexOf(value) === -1) { - value = ""; + var validValue = false; + var label; + for (var i=0;i