Skip to content
This repository was archived by the owner on Nov 17, 2022. It is now read-only.

Commit 9c5382e

Browse files
feat: add userName and password hint options for login dialog (#1961)
1 parent e4bfdf5 commit 9c5382e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/ui/dialogs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,9 @@ Dialogs.login({
221221
cancelButtonText: "Cancel button text",
222222
neutralButtonText: "Neutral button text",
223223
userName: "User name label text",
224-
password: "Password label text"
224+
userNameHint: "Enter username",
225+
password: "Password label text",
226+
passwordHint: "Enter password"
225227
}).then(r => {
226228
console.log("Dialog result: " + r.result + ", user: " + r.userName + ", pwd: " + r.password);
227229
});

0 commit comments

Comments
 (0)