Skip to content

Commit

Permalink
Close #2507 iconRight get higher priority than status icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy committed May 16, 2020
1 parent fa7cb20 commit 18bede9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/input/Input.vue
Expand Up @@ -135,18 +135,18 @@ export default {
rightIcon() {
if (this.passwordReveal) {
return this.passwordVisibleIcon
} else if (this.statusTypeIcon) {
return this.statusTypeIcon
} else if (this.iconRight) {
return this.iconRight
}
return this.iconRight
return this.statusTypeIcon
},
rightIconType() {
if (this.passwordReveal) {
return 'is-primary'
} else if (this.statusTypeIcon) {
return this.statusType
} else if (this.iconRight) {
return null
}
return null
return this.statusType
},
/**
Expand Down

0 comments on commit 18bede9

Please sign in to comment.