Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: 组件下拉框Select设置mode:multiple时,在输入框输入文字会出现错误 #5136

Closed
5 tasks done
tuziyaya opened this issue Dec 14, 2024 · 5 comments · Fixed by #5137
Closed
5 tasks done

Comments

@tuziyaya
Copy link

Version

Vben Admin V5

Describe the bug?

组件下拉框Select设置mode:multiple 时,在输入框输入文字会出现错误,即使options为空,也会自动绑定输入文本的值
image

Reproduction

组件下拉框Select设置mode:multiple时,在输入框输入文字会出现错误

System Info

version:5.5.1
error:`value` should be array when `mode` is `multiple` or `tags`

Relevant log output

No response

Validations

@mynetfan
Copy link
Collaborator

是ElementPlus吗?

@tuziyaya
Copy link
Author

是ElementPlus吗?

不是,是antd,并且在上个版本搜索也用不了,这次更新后就直接出现了这个错误

@mynetfan
Copy link
Collaborator

和ElementPlus的问题一样
等下推一个PR

@tuziyaya
Copy link
Author

@mynetfan
Copy link
Collaborator

#5127
#5137
这两个PR都是为了解决这个问题的。如果你不再合并基础框架的更新了,可以手动同步上述两个PR的改动

@github-actions github-actions bot locked and limited conversation to collaborators Dec 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants