Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Q2 Link Component In Jinja Templates

The Code Sample functions in Codepen for Q2-Link component:

<q2-link label="Click me" href="https://q2.com" target="_blank" variant="inline" icon-type="chevron-right">
</q2-link>

We've been able to use it on general web applications but have been unable to use it within our Jinja Templates within our extension. Are there limitations for this component in terms of usage across different channels?

In production, no matter how we wrap the q2-link component, it displays as standard text unlike other Q2 Tecton components which render as expected in Prod.

Posted one year ago
Votes Newest

Answers


Hey Jacob. This is rendering as standard text because of the value of your variant attribute. I recommend changing it to variant="standalone" if you'd like it to render as a styled element as opposed to standard text. Let me know if that solves the problem. Thanks!

Posted one year ago
0

Hey Justin! As in Standard text, the link renders no different than a <span> or <p>. The link does not click and I tried positioning it as standalone and the text did not display as a standalone.

The text did not display as a hyperlink.

— Jacob Young   one year ago
0

Note: <a target="_blank" href="https://google.com">
<q2-icon id="backArrow" style="font-size: 12px;" type="chevron-left"></q2-icon>
</a>

This works but the <q2-link> component has not worked in our code.

— Jacob Young   one year ago
103 Views
1 Answer
one year ago
one year ago
Tags