You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NET9.0.0 Blazor @OnClick:preventDefault is not working in Balzor NET. It was working in Blazor NET7. <a class="page-link" href="#" aria-label="Previous" @onclick="()=>DecPage()" @onclick:preventDefault>
Workarround: use javascrit:void(0); <a class="page-link" href="javascript:void(0);" aria-label="Previous" @onclick="()=>DecPage()" @onclick:preventDefault>
PS. I use on the page @rendermode InteractiveServer
The text was updated successfully, but these errors were encountered:
NET9.0.0 Blazor @OnClick:preventDefault is not working in Balzor NET. It was working in Blazor NET7.
<a class="page-link" href="#" aria-label="Previous" @onclick="()=>DecPage()" @onclick:preventDefault>
Workarround: use javascrit:void(0);
<a class="page-link" href="javascript:void(0);" aria-label="Previous" @onclick="()=>DecPage()" @onclick:preventDefault>
PS. I use on the page @rendermode InteractiveServer
The text was updated successfully, but these errors were encountered: