Finally, the value of the Name property is displayed using Razor syntax. The Click event is raised when the Button control is clicked. Attach a javascript method to the button click to first disable the button, and then submit the form. You're welcome to use it in production if it meets your needs, but it isn't officially supported and may change in future releases. In those cases, use a string type instead of a bool. Visual Studio Feedback System on 11/14/2019, 02:14 AM: We have directed your feedback to the appropriate engineering team for further evaluation. Even if @key isn't used, Blazor preserves child element and component instances as much as possible. Toggles showing child content with a component parameter (. For more information, see MDN Web Docs: Event bubbling. Per the HTML specification, custom element tag names must adopt kebab case: Invalid: mycounter The following example shows using the MarkupString type to add a block of static HTML content to the rendered output of a component. See also. We start with adding a button click event, and for this, we are going to use a textarea to bind a value to a property. This is the topic of interest now. Prefer the strongly typed EventCallback