Closed falkoschindler closed 6 months ago
The way we converted strings to JavaScript objects couldn't handle leading line breaks:
obj[attr.slice(1)] = new Function("return " + value)();
The function would just return undefined
because the line ends after "return". I fixed it by adding brackets:
obj[attr.slice(1)] = new Function(`return (${value})`)();
Description
Here is a minimum example of a dynamic property controlling the row height depending on the length of the name:
The same property is ignored when wrapped with line breaks: