mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-18 05:54:28 +08:00
fix(components): [input] hide eye icon if no value (#8096)
This commit is contained in:
@ -277,6 +277,7 @@ const showPwdVisible = computed(
|
||||
props.showPassword &&
|
||||
!inputDisabled.value &&
|
||||
!props.readonly &&
|
||||
!!nativeInputValue.value &&
|
||||
(!!nativeInputValue.value || focused.value)
|
||||
)
|
||||
const isWordLimitVisible = computed(
|
||||
|
Reference in New Issue
Block a user