Conflicting "context" variables
Posted: 2/9/2023 9:12:44 PMBy: PrintableKanjiEmblem
Times Read: 599
Likes: 0 Dislikes: 0
Topic: Programming: Blazor Server
Error: The child content element 'ChildContent' of component 'EditForm' uses the same parameter name ('context') as enclosing child content element 'Authorized' of component 'AuthorizeView'.
This is another weird one in Blazor Server 6.
When you wrap content containing an
Easy fix, just add Context="Auth" to the <Authorized> element, like this:
Now get back to work! ;)
Rating: (You must be logged in to vote)