I have a dimension with a link and an html tag to add a tooltip as follows.
dimension: price {
type: number
value_format: "0.00"
link: {
label: "LABEL HERE"
url: "SOME_URL_HERE"
}
sql: ${TABLE}."price" ;;
html: <a title={{ table.table_column_name._rendered_value }}> {{linked_value }}</a> ;;
}
The issue is that the value in the tooltip gets clipped if it has an equal sign. e.g. "With position = position 1". Then the value in the tooltip would be "With" dropping the rest of the value.
Not sure if this goes for other special characters but how can I preserve the value as is?
Any ideas are appreciated!
Solved! Go to Solution.
I found an nice solution by wrapping the value with a double quotation mark
html: <a title="{{ table.table_column_name._rendered_value }}"> {{linked_value }}</a> ;;
I found an nice solution by wrapping the value with a double quotation mark
html: <a title="{{ table.table_column_name._rendered_value }}"> {{linked_value }}</a> ;;