-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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-v2] Placeholder doesn't display with empty value since 2.2.18 #10371
Comments
Because |
@holazz Yes I see that ! However the clearable doesn't work too even if my initial value is null... |
Yes ! And if I add en option like |
No, the value in options cannot be null. |
For information, if I add an option with null value in latest element-plus version, this doesn't work (error in console). However on your PR, it works perfectly ! |
Yet on your PR, it seems to works perfectly... What is the solution to have a empty value that also display the placeholders when selected ? Like this : Demo (select 2.2.17 version) |
This seems to work, but it should be noted that once you set the |
Okay ! Do you have any idea when your PR will be released ? |
I'm not sure, maybe tomorrow. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. 此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。 |
Bug Type:
Component
Environment
3.2.33
2.2.19
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Vite
Reproduction
Related Component
el-select-v2
Reproduction Link
Element Plus Playground
Steps to reproduce
What is Expected?
When the value is an empty string or when I clear the field, the placeholder is displayed.
What is actually happening?
The placeholder doesn't display
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: