Skip to content

Updating a user to try to set their name and email and the address validation fires #1422

Description

@ardalis

There is no page level validation - this is the response:

{"InvalidUserId":["Bad Data"],"UserPersonalUpdateModel.Address":["The Address field is required."]}

/Admin/User?userId=1541...

Expected Behavior

Address validation should only fire if one or more of the address fields are updated. Updating just the name or email fields should be supported. Validation on the client should also fire rather than an error occurring on the server. Validation on the server should also fire instead of there being an error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions