Skip to content

Commit

Permalink
account.Create: add help & placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
joonas-fi committed Mar 20, 2020
1 parent 502e64e commit 779822b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/apitypes/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@
"title": "+ Account",
"fields": [
{ "key": "FolderId", "hideIfDefaultValue": true },
{ "key": "Title", "optional": true, "help": "If you don`t specify this, then URL is required" },
{ "key": "Url", "optional": true, "help": "If you don`t specify this, then Title is required" },
{ "key": "Username", "optional": true },
{ "key": "Title", "placeholder": "Reddit", "optional": true, "help": "If you don`t specify this, then URL is required" },
{ "key": "Url", "placeholder": "https://www.reddit.com/", "title": "URL", "optional": true, "help": "If you don`t specify this, then Title is required" },
{ "key": "Username", "placeholder": "bob@example.com", "optional": true },
{ "key": "Password", "type": "password", "optional": true },
{ "key": "PasswordRepeat", "type": "password", "optional": true }
{ "key": "PasswordRepeat", "placeholder": "(optional, to prevent typos)", "title": "Repeat password", "type": "password", "optional": true }
]
},
{
Expand Down

0 comments on commit 779822b

Please sign in to comment.