You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does that recommended fix actually work for you? Because I am pretty sure it will not and if it does not I fear I will have to simply say that to set the component as undefined you need to set value to {red: undefined, green: undefined, blue: undefined} like the default. Oh well, don't have much time now, but might check later.
I'm creating complex system (~20 components currently) trying to make each element bulletproof for insertion of jsons of any kind of data. At least unobtrusive error checking which prevents elements for erroring out. Probably matter of taste, however I can't imagine that some of native html elements (
If the value undefined element throws an error.
Recommended fix:
paper-color-input.html:198
_isValueDefined: function(){
return this.value && this.value.red >= 0 && this.value.green >= 0 && this.value.blue >= 0;
},
The text was updated successfully, but these errors were encountered: