When we click on submit button than it should be disabled I have a HTML form where I use several buttons. Consider using form 'onsubmit' handler instead ( As you did it before ) It is simply impossible to cancel form submission from "onclick" button handler. MudBlazor is a material-design inspired Blazor Component library. Alternatively, you can call the Event.preventDefault () to prevent the default action on a form submission from executing. Input number: Write following simple peace of JavaScript, which will change the button caption and disable the button immediately after first submit clicked, so until the first submit request Its quite painful to do an e.preventDefault() for each one of these buttons.. Package Manager: Install-Package MudBlazor -Version 6. A quick double-click on a button or link can have unintended consequences, such as a form being submitted twice, or a script running in parallel to itself and encountering race Now the user can't click it again.14-Nov-2019 Buttons like Use javascript to disable the button and then submit the form. Normally, the form owner won't see the submit button in the form while after sharing the form with others, they will see the submit button.