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
Not sure if it's a bug or a feature but if I use the new attributes method to define component and mixin default attributes, an error is thrown but only when the Debug mode is turned on.
Uncaught TypeError: Cannot assign to read only property 'attrDef' of [object Object]
Attempting to define this.attributes on a component that also has a mixin that defines its own this.attributes throws this error — and it doesn't matter if the attrs defined are completely different. Reverting to using this.defaultAttrs for both resolves this issue.
Hi,
Not sure if it's a bug or a feature but if I use the new
attributes
method to define component and mixin default attributes, an error is thrown but only when the Debug mode is turned on.Example
Full error stack
Any clarifications, pointers of how to avoid this error during Debug mode would be great
Cheers
Ken
The text was updated successfully, but these errors were encountered: