Skip to content

Commit

Permalink
Add password visibility btn
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy0017 committed Mar 27, 2018
1 parent 42081d7 commit 2975920
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gui/src/renderer/components/Server.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
<v-text-field
label="Password"
placeholder="Your server password"
hint="Your server password"
v-model="o.Password"
:append-icon="o.PasswordVisibility ? 'visibility' : 'visibility_off'"
:append-icon-cb="() => (o.PasswordVisibility = !o.PasswordVisibility)"
:type="o.PasswordVisibility ? 'password' : 'text'"
counter
></v-text-field>
</v-flex>
<v-flex>
Expand All @@ -46,6 +51,7 @@ export default {
Address: 'local.txthinking.com:1080',
Server: '',
Password: '',
PasswordVisibility: false,
TCPTimeout: 60,
TCPDeadline: 0,
UDPDeadline: 60,
Expand Down

0 comments on commit 2975920

Please sign in to comment.