fix(components): [input] hide eye icon if no value (#8096)

This commit is contained in:
류한경
2022-06-08 10:24:15 +09:00
committed by GitHub
parent 4c34660c59
commit 94808e8ec9

View File

@ -277,6 +277,7 @@ const showPwdVisible = computed(
props.showPassword &&
!inputDisabled.value &&
!props.readonly &&
!!nativeInputValue.value &&
(!!nativeInputValue.value || focused.value)
)
const isWordLimitVisible = computed(