You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking on "Edit Profile Button" On About us page sets about us controller variable editMode to true.
The text spans bound to Angular variables all have ng-show="!editMode", hiding them on edit mode and showing them when it's not edit mode.
Then you would have input boxes in the same area as each text span. When editMode is true you show the input boxes instead. These are treated just like any old form, and there is a save button an cancel button.
the cancel button is easy; just set editMode to false and clear the input boxes.
In the save button you still want set editMode to false and clear the input boxes, but you also want to set that user's database object values to the values of the input boxes in the form.
Implement functionality for editing profile (on about us page).
The text was updated successfully, but these errors were encountered: