AJAX on v4 not working he same as v3?

why would this snippet work fine on v3 and not on v4 ?

the AJAX request is not initiated on v4.
It works only IF I remove the data-bs-toggle directive.

<a href="javascript:;" data-request="qrCode::onAjax" data-request-update="'ajax/qr-code': '#modalContent'" data-bs-toggle="modal" data-bs-target="#simpleModal">Launch</a>

Hey @chris

Yup! This looks like a bug/regression in Larajax from the previous October AJAX.

We’ll get a patch out in v4.1.14 for this soon.

1 Like

thanks @daftspunk

For now, I replace it with a button tag and it works fine.