I changed all my URL field types (both in Collection schema and interface element (text) to type Text, because I wanted to get rid of the mandatory "http://" and "https://". Users simply wanted to type "www.mysite.com".
When I now build a .html <a href=-string for a text element using this string without http(s), I get an error:
Wix code SDK error: Failed to create link because Error: Unsupported link type
I fear that Wix finds the missing http(s) a problem and will not build a link. So I have to check it and add it myself. Is there a quick, perhaps standard function to do so?