Hey there, happy Friday! Hope you're all crushing it in your coding adventures.
Have a Gantt chart, all is well.
For some reason, I am having some difficulty having a new line in the Gantt Chart Label.
Here's the tag:
<template slot="taskMappingTemplate" data-oj-as="task" style="white-space: pre-line;">
<oj-gantt-task
task-id="[[task.data.id]]"
start="[[task.data.begin]]"
end="[[task.data.finish]]"
label="[[task.data.shortDesc]]"
svg-class-name="[[getSvgClassName(task.data)]]"
></oj-gantt-task>
</template>
In JS:
shortDesc = string1 + ā\nā + string2
On the Label it is showing up as:

How can we get a multiline between the two Strings? I'm guessing it is not possible given the documentation?

Cheers!