Any way to make link inside repeater from dataset open in new tab ?

This method https://www.wix.com/corvid/reference/$w.Button.html#target doesn’t work if the button is inside repeater and connected to dataset, i’m sure i’ve set the target is new window in button element property, it does open in new tab but also opening in _self

i also tried this code

$w(‘#viewInNewTabElt’).html = ‘

View in New Tab
’;

but not work, any other idea ?

just noticed that this caused by adding onClick in container