I'm using the template found in Umbraco\PartialViewMacros\Templates\EditProfile.cshtml to let members edit their properties, also the custom properties I've added to the member object. This is the code in EditProfile:
This code correctly displays all the member properties with their values, but if I modify any of them and hit 'save', nothing happens.
Debugging the ProfileController I've found that the ProfileModel's MemberProperties contains 0 items while saving, instead of the MemberProperties as shown in the View.
Empty MemberProperties on Save
I'm using the template found in
Umbraco\PartialViewMacros\Templates\EditProfile.cshtml
to let members edit their properties, also the custom properties I've added to the member object. This is the code in EditProfile:This code correctly displays all the member properties with their values, but if I modify any of them and hit 'save', nothing happens.
Debugging the ProfileController I've found that the ProfileModel's MemberProperties contains 0 items while saving, instead of the MemberProperties as shown in the View.
What's wrong?
is working on a reply...