Razor component. The child content element 'ChildContent' of component 'EditForm' uses the same para
If I understood correctly, I think the problem is with Model attribute, though the name is not the same as in @context.User
What am I messing ?
What am I messing ?
14 Replies
context
is already taken by AuthorizeView. You can add a parameter to EditForm
to change the context variable name by using Context=“something”
, where “something” is your variable name. It can be anything you want.I'm not using context in the EditForm. the model in the form coming from code { } bellow.
I understand that, but
context
is being imported from NotAuthorized
, and EditForm
also has a context
. So that means you need to change one of them. You can pick either one you want.Got it. Thanks
Don’t forget to type
/close
to close this threadWhere exactly do I type that ?
Here should do it
If you use the slash command
/close
just here in chat, the bot should take care of it
I can’t do it myselfI didn't know that we should remove posts after we're done
It’s not removing it. It just marks it as resolved so that it doesn’t show up in the active list anymore
Alight
✅ This post has been marked as answered!