mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-18 14:12:56 +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 &&
|
props.showPassword &&
|
||||||
!inputDisabled.value &&
|
!inputDisabled.value &&
|
||||||
!props.readonly &&
|
!props.readonly &&
|
||||||
|
!!nativeInputValue.value &&
|
||||||
(!!nativeInputValue.value || focused.value)
|
(!!nativeInputValue.value || focused.value)
|
||||||
)
|
)
|
||||||
const isWordLimitVisible = computed(
|
const isWordLimitVisible = computed(
|
||||||
|
Reference in New Issue
Block a user