[Enhancement] [select] 可不可以把value-on-clear默认值改为'' 空字符串 #16876
OrensDon
started this conversation in
Feature Request
Replies: 3 comments 1 reply
-
不好意思,默认值不是2.7的更新,配置项是。valueOnClear是有效的,但是也挺麻烦,因为每个页面都要加一行 |
Beta Was this translation helpful? Give feedback.
1 reply
-
纯文字的描述很难给你帮助及参考 |
Beta Was this translation helpful? Give feedback.
0 replies
-
非常感谢,已经解决了Sent from my iPhoneOn May 17, 2024, at 15:56, kooriookami ***@***.***> wrote:
https://element-plus.org/zh-CN/component/config-provider.html#%E7%A9%BA%E5%80%BC%E9%85%8D%E7%BD%AE
可以包一层el-config-provider
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
select
Description
这是一个老的js引入的项目,无法修改全局配置,且valueOnClear的配置是无效的。
之前一直默认是空字符串,更新到2.7之后,全崩啦!!!像el-select点击清空后,值全变成了undefined传到后端啦!!!
加新配置项是好的,但是能不能不要改原来的默认值,拜托!!!
Additional comments
拜托!!!
1 vote ·
Beta Was this translation helpful? Give feedback.
All reactions