Skip to content

Reset current value in Profile page if empty fields is entered #2

@nycotin

Description

@nycotin

Current behaviour:
When user clicks on the pencil icon to change any of the field, it is not possible for them to "close" this section, if fields are left empty on clicking of the "tick" symbol, as the validation doesn't allow it. The only way to get out of this blocker is to reload the page.

image

Reason behind current behaviour:
New or unchanged data is sent to server for update when user clicks on the "tick" symbol. To avoid sending empty fields and making incorrect data update with empty values in the DB, validation for empty fields has been put in place.

Desired behaviour:
User can click on pencil/tick symbol without blockers. If empty fields are entered, data transfer to the server is blocked and current values are entered in the not-editable fields again. Password validation is executed, if at least one of the fields is filled while the others are empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovement to an existing feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions