Bug Description:
On profile form submit, started to receive errors that the form was not valid.
Actions to Resolve:
Issue arose after the user was added as a form field. Attempted to make it read only by setting disabled but this caused form to be invalid as it is a required field. Resolved by copying HTML for one of the other label and input and passing in user.username before setting element as readonly.
Epic: Epic: User profiles #36
Bug Description: On profile form submit, started to receive errors that the form was not valid.
Actions to Resolve: Issue arose after the user was added as a form field. Attempted to make it read only by setting disabled but this caused form to be invalid as it is a required field. Resolved by copying HTML for one of the other
label
andinput
and passing in user.username before setting element asreadonly
.