I have a button in a Blazor app configured as such:
<SfButton @onclick="CheckUsage">
Check Usage
</SfButton>
The method is configured as such in the code:
protected void CheckUsage(MouseEventArgs args)
{
debug("CheckUsage");
}
When the app runs and I click on the button, instead of firing the event, I end up with a query string in the browser that looks like this:
https://localhost:7279/settings/pro?textbox-61430baf-bf9d-4b31-bc98-f0a64351253c=text-value&languages=en&q=&q=&q=&q=
I am having some difficulty understanding what the issue is here. I am using a Tailwind/Bootstrap combo for styling with CSS files referenced from the Syncfusion studio, and while there's some Javascript in the app, I feel like this is probably a more simple problem than it would initially appear so I wanted to reach out and see if there might be something I could be missing somewhere.
Initially I tried setting up without the MouseEventArgs bc I don't need it, but that made no difference. The MouseEventArgs, if it matters, is coming from the Microsoft namespace and not Syncfusion.
Thanks