diff --git a/aspnetcore/blazor/components.md b/aspnetcore/blazor/components.md
index e9a6170b9a..39a62a6687 100644
--- a/aspnetcore/blazor/components.md
+++ b/aspnetcore/blazor/components.md
@@ -159,7 +159,7 @@ In the following example, the first `` element (`id="useIndividualParams"
{
{ "maxlength", "10" },
{ "placeholder", "Input placeholder text" },
- { "required", "true" },
+ { "required", "required" },
{ "size", "50" }
};
}
@@ -179,7 +179,7 @@ The rendered `` elements using both approaches is identical:
```