Skip to content

Commit

Permalink
fix password input icon - closes vuestorefront#2772
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeromanowicz committed Apr 23, 2019
1 parent ae6ba30 commit 8f307bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/themes/default/components/core/blocks/Form/BaseInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {
return {
passType: 'password',
iconActive: false,
icon: 'visibility'
icon: 'visibility_off'
}
},
props: {
Expand Down Expand Up @@ -95,10 +95,10 @@ export default {
togglePassType () {
if (this.passType === 'password') {
this.passType = 'text'
this.icon = 'visibility_off'
this.icon = 'visibility'
} else {
this.passType = 'password'
this.icon = 'visibility'
this.icon = 'visibility_off'
}
},
// setFocus sets focus on a field which has a value of 'ref' tag equal to fieldName
Expand Down

0 comments on commit 8f307bc

Please sign in to comment.