mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix: [ElSelectV2] set value to an empty array after selection error (#3875)
This commit is contained in:
@@ -654,6 +654,8 @@ const useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {
|
||||
initHovering = true
|
||||
}
|
||||
})
|
||||
} else {
|
||||
states.cachedOptions = []
|
||||
}
|
||||
} else {
|
||||
if (props.modelValue) {
|
||||
|
||||
Reference in New Issue
Block a user