Closed ADefWebserver closed 5 years ago
That's because AuthorizeView
and EditForm
both use the same Context
variable.
To avoid this you can change the variable name on them like this:
<AuthorizeView Context="authContext">
<Authorized>
<EditForm Context="formContext">
...
</EditForm>
</Authorized>
</AuthorizeView>
@campersau Thanks that works!
Describe the bug
When I try to put an EditForm in an Authorize view I get build errors
To Reproduce
Create a new Server Side Blazor project with preview 6. Put an EditForm in an Authorize view like this:
Expected behavior
That it would build.
Screenshots