[Bug]: StyleManager properties without "property" defined cause an error on component selection
Question
When using a StyleManager property where "property" is not defined, and defaults to '', I'm seeing an error on component selection: "TypeError: values[0] is undefined" at PropertyView.js targetUpdated -> getComputedValue-> camelCase. I'm seeing this in my local project with v0.14.52.
jsfiddle: https://jsfiddle.net/okc9abez/7/
In my case this is a sub-property of a stack, where it wouldn't make sense for a property to be defined.
Answers (2)
In my case this is a sub-property of a stack, where it wouldn't make sense for a property to be defined.
Yeah, it makes sense, but unfortunately, the property is kind of mandatory for the Style Manager, probably for now I'll just check the model on init and update property in the case is empty (eg. by taking the name or id)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1614
[Bug]: adding css variables as style manager property
trying to add css variable to style manager causing error: Uncaught TypeError: Cannot read property 'toUpperCase' of undefined fiddle Am i...
Issue #1829
[Bug]: If devices in DeviceManager all have a width specificed an editor breaking error occurs
If all devices specified for the DeviceManager have a width set, an editor breaking error occurs: "TypeError: contRules is null". I'm seein...
Issue #1346
[FEATURE REQUEST] Property slider view default unit
Hey @artf , I think that the slider component would come handy from the UX perspective for the user interaction of some of the integer prop...
Issue #1626
[Bug] Wrong Placeholder marker when inserting in column flexbox component
Hello artf, I have a Problem with the Insertion Placeholder Marker. When you insert a component in a Flexbox-Parent it is always vertical (...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.