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

[Component] [date-picker] lykj-日期时间选择器,type为‘datetimerange’时,选择日期后,不点击确认按钮直接失焦,再次点击后,面板的日期不会重置到之前绑定的日期 #16773

Open
Merlinzyl opened this issue May 7, 2024 · 0 comments

Comments

@Merlinzyl
Copy link

Bug Type: Component

Environment

  • Vue Version: 3.4.27
  • Element Plus Version: 2.7.2
  • Browser / OS: windows11/chrome
  • Build Tool: Vite

Reproduction

Related Component

  • el-date-picker

Reproduction Link

Element Plus Playground

Steps to reproduce

选择日期后,不点击确认按钮,直接失焦,再次点击日期选择器,选择的日期依然存在

What is Expected?

再次点击日期选择器后,面板的日期应该为组件已绑定的日期

What is actually happening?

再次点击日期选择器后,面板的日期为上次选择的日期,而这个日期并没有绑定到选择器

Additional comments

(empty)

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