-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
[Component] [select]: select 配置可清空功能,清空后值变成undefined,类型发生变化 #16919
Comments
@warmthsea @kooriookami I understand that the default should be set to an empty string so that there are no breaking changes. |
@xingyixiang The current effect should be the same as before 2.7.0. To meet your requirements, configuring Or did I misunderstand what you meant? 🤔 |
An adjustment made intentionally in version 2.6.0. #15995 |
If it's a long-term change, so be it. |
I also encountered this problem, thank you |
Bug Type:
Component
Environment
3.4.21
2.7.3
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Vite
Reproduction
Related Component
el-select
Reproduction Link
Element Plus Playground
Steps to reproduce
下拉选择后点击清空按钮
What is Expected?
绑定的值还是string类型,值变成空字符串
What is actually happening?
值变成undefined
Additional comments
The text was updated successfully, but these errors were encountered: