Skip to content

Commit 65c282c

Browse files
committed
fix: set email and username as mandatory to make the user aware of it
1 parent 463a695 commit 65c282c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/packages/user/user/workspace/components/user-workspace-profile-settings/user-workspace-profile-settings.element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export class UmbUserWorkspaceProfileSettingsElement extends UmbLitElement {
6868
#renderEmailProperty() {
6969
return html`
7070
<umb-property-layout
71+
mandatory
7172
label="${this.localize.term('general_email')}"
7273
.description=${this.localize.term('user_emailDescription', this._usernameIsEmail)}>
7374
<uui-input
@@ -89,6 +90,7 @@ export class UmbUserWorkspaceProfileSettingsElement extends UmbLitElement {
8990

9091
return html`
9192
<umb-property-layout
93+
mandatory
9294
label="${this.localize.term('user_loginname')}"
9395
description=${this.localize.term('user_loginnameDescription')}>
9496
<uui-input

0 commit comments

Comments
 (0)