CTA and Feature Grid Buttons Not Working

Hi there,

I have a number of CTA buttons and Feature Grid links that are not working throughout my app.

Most of the CTA buttons links are being updated by copde, but the button href is correctly being updated and right-clicking the button will work. The regular click doesn’t.

I don’t have any event.preventDefault in my code, so I don’t know why this might be happening.

For reference, I have tried to test a very basic element and the issue remains. The testing tag was:

<a href="https://forms.marketoffer.co.uk/t/XXXXXXXXXX?id=XXXXXXXXXX&userId=XXXXXXXX">
  Update Location & Property Type Preferences
</a>

First full CTA button rendering as follows:

<a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1hta0pm" tabindex="0" data-element="button" target="_self" href="https://forms.marketoffer.co.uk/t/XXXXX?id=XXXXXXX&amp;userId=XXXXX"><span class="MuiBox-root css-jf8tht">Update Their Location &amp; Property Type Preferences</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a>

Second full CTA button rendering as follows:

<a class="MuiButtonBase-root MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium MuiButton-root MuiButton-contained MuiButton-containedPrimary MuiButton-sizeMedium MuiButton-containedSizeMedium css-1hta0pm" tabindex="0" data-element="button" target="_self" href="https://www.marketoffer.co.uk/portal/providers/preferences/team/member?recordId=XXXXXXXX"><span class="MuiBox-root css-jf8tht">Refresh</span><span class="MuiTouchRipple-root css-w0pj6f"></span></a>

Not sure I need to post the Feature Grid as there is no custom code…

Help!
*Obviously, form Ids and record Ids obscured for privacy!

This is something very interesting, but I am afraid you must provide an enviroment to inspect the buttons behaviour with browser dev tools

I found my problem - a very basic one… an errant preventDefault in my code.

Ignore me!!