mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-11-30 10:18:02 +08:00
fix: [ElSelectV2] set value to an empty array after selection error (#3875)
This commit is contained in:
parent
4b5dc2123f
commit
4cffe3d9e7
@ -654,6 +654,8 @@ const useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {
|
||||
initHovering = true
|
||||
}
|
||||
})
|
||||
} else {
|
||||
states.cachedOptions = []
|
||||
}
|
||||
} else {
|
||||
if (props.modelValue) {
|
||||
|
Loading…
Reference in New Issue
Block a user