I’m having a button which on click should open a web link. (Picture Below) If the value of the link (string) is ‘www.google.com’ (just for example) it appends the link to the url (Picture below) But if the value of the link is ‘https://www.google.com’ , it works fine, the way I expect it to, the link no longer gets appended to the url. My question is, how can I open a web link without it being appended to the url, regardless of what the location is (“abc.com”)
Unfortunately there doesn't seem to be a feature to do this out of the box.
I think in this case you should set the attribute with the link differently. When the string for the link is set you should built in a check if the string contains https://.
If it does you leave the string unchanged, if it doesn’t you set the attribute to: