mirror of
https://github.com/element-plus/element-plus.git
synced 2025-08-17 21:32:51 +08:00
fix(components): [input] update input value length calculate (#11816)
* fix(components): [input] update input value length calculate * fix: update test
This commit is contained in:
@ -293,7 +293,7 @@ const isWordLimitVisible = computed(
|
||||
!props.readonly &&
|
||||
!props.showPassword
|
||||
)
|
||||
const textLength = computed(() => Array.from(nativeInputValue.value).length)
|
||||
const textLength = computed(() => nativeInputValue.value.length)
|
||||
const inputExceed = computed(
|
||||
() =>
|
||||
// show exceed style if length of initial value greater then maxlength
|
||||
|
Reference in New Issue
Block a user