Skip to content

Commit

Permalink
fix(components): [input] hide eye icon if no value (#8096)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuhangyeong committed Jun 8, 2022
1 parent 4c34660 commit 94808e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/input/src/input.vue
Expand Up @@ -277,6 +277,7 @@ const showPwdVisible = computed(
props.showPassword &&
!inputDisabled.value &&
!props.readonly &&
!!nativeInputValue.value &&
(!!nativeInputValue.value || focused.value)
)
const isWordLimitVisible = computed(
Expand Down

0 comments on commit 94808e8

Please sign in to comment.