When adding a LinkIt field with a Custom URL and not entering a Custom Link Text the front end throws an error 'getThirdPartyElementData'.
I have tried adding extra checks like button.text|length etc. in my code to see if the text has a value but I still get the error. If I remove everything concerning the button.text element from my code the error no longer shows.