Topic: Conflict with jquery unobtrusive ajax after updating to version 5.0.0

dbsgroep priority asked 2 years ago


Scss seems to compile fine to css (I see the new style). But whenever we submit a form, we get an error (see screenshot). We use data-ajax (we use jquery unobtrusive ajax) attributes.

This worked fine before the upgrade to 5.0.0, but now seems to conflict with jQuery unobtrusive ajax. Whenever we add this data-ajax attribute, we get this error.

Could you explain why this conflict suddenly appears? I can't find anything in the changelog that could cause this. And Is there a way around this?

<form id="getForm" action="@Url.Action("Get")" data-ajax="true"></form>

<script>
$(document).ready(function () {
    $('#getForm').submit();
});
</script>

Console log


Mateusz Lazaru staff answered 2 years ago


We will check this and try to solve this problem as soon as possible.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 5.0.0
  • Device: PC
  • Browser: Firefox
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: No