I am using SXA 1.8.1 Sitecore 9.1.1.
I have a rendering variant with link wrapping a few other items (image, text etc.). I would like to pass the target attribute value which is set on the link by the editors to the variant to display something like:
<a href="something" target="_blank"> ... </a>
Is it possible to pass it through the data attributes on the link section using token or something like that? I tried using "Is Link" and without it but none of them seems to be rendering that OOTB. How can I implement it? I do not want to hardcode the _blank value (it works in this case but I need editors to be able to set it on the link item).