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 Report] 全局设置ElementUI.Input['props'].clearable.default = true后,DatePicker组件上设置clearable为false不生效 #22866

Open
Li-DaDa opened this issue Apr 29, 2024 · 0 comments

Comments

@Li-DaDa
Copy link

Li-DaDa commented Apr 29, 2024

Element UI version

2.15.6

OS/Browsers version

Win10/Chrome 83.0.4103.97

Vue version

2.6.11

Reproduction Link

https://codepen.io/Li-DaDa/pen/NWmmyRy

Steps to reproduce

先全局设置ElementUI.Input['props'].clearable.default = true,然后在ElDatePicker组件设置clearable为false,此时不生效了

What is Expected?

ElDatePicker组件上单独设置的属性优先级应该更高

What is actually happening?

全局设置的Input属性后ElDatePicker设置clearable无效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant