diff --git a/aspnetcore/blazor/components/render-modes.md b/aspnetcore/blazor/components/render-modes.md index 77bdf0e6a1..e412321ec8 100644 --- a/aspnetcore/blazor/components/render-modes.md +++ b/aspnetcore/blazor/components/render-modes.md @@ -226,7 +226,30 @@ The Connecting to the assistant...

+} +else +{ + ... +} +``` + +Disable a button until a component is interactive: + +```razor + +``` + +Disable a form during prerendering and enable the form when the component is interactive: ```razor @@ -256,7 +279,7 @@ Components use these properties to render content depending on their location or } ``` -The next example shows how to render markup to support performing a regular HTML action if the component is statically rendered: +Render markup to support performing a regular HTML action if the component is statically rendered: ```razor @if (AssignedRenderMode is null)