richTextItem, safeLink issue


I have a text field where user is entering website. I am using below line of code to provide a link to the user to navigate to the website.

Issue is when user to try to enter link "" or "" and when they came to the link and hit it is throwing an error.

a!richTextItem( text: ri!site, link: a!safeLink(uri: ri!site,openLinkIn: "NEW_TAB")

Any suggestions from anyone.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data