mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
feat(components): [input] show pwd visible icon when the input is readonly (#18458)
feat(components): [input] show pwd visible icon when input is readonly
This commit is contained in:
parent
da3e68791b
commit
5917190205
@ -305,7 +305,6 @@ const showPwdVisible = computed(
|
||||
() =>
|
||||
props.showPassword &&
|
||||
!inputDisabled.value &&
|
||||
!props.readonly &&
|
||||
!!nativeInputValue.value &&
|
||||
(!!nativeInputValue.value || isFocused.value)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user