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] The unlink-panels attribute of the date picker does not work #13435

Closed
liaoYang102 opened this issue Nov 15, 2018 · 8 comments
Closed

Comments

@liaoYang102
Copy link

Element UI version

2.4.9

OS/Browsers version

win 10 / Google Chrome(68.0.3440.106)(64位)

Vue version

2.5.17

Reproduction Link

https://jsfiddle.net/kywp8d79/

Steps to reproduce

  1. Open date selection box.
  2. the left and right panels will be linked.

What is Expected?

two panels will independently switch the current month.

What is actually happening?

Left and right panels will be linked.

@element-bot element-bot changed the title [Bug Report] The unlink-panels attribute of the date picker does not work [Bug Report] The unlink-panels attribute of the date picker does not does Nov 15, 2018
@element-bot
Copy link
Member

Translation of this issue:

Element UI version
2.4.9

OS/Browsers version
Win 10 / Google Chrome (68.0.3440.106) (64 bits)

Vue version
2.5.17

Reproduction Link
https://jsfiddle.net/kywp8d79/

Steps to reproduce

  1. Open date selection box.

  2. the left and right panels will be linked.
    What is Expected?

Two panels will independently switch the current month.
What is actually happening?

Left and right panels will be linked.

@liaoYang102 liaoYang102 changed the title [Bug Report] The unlink-panels attribute of the date picker does not does [Bug Report] The unlink-panels attribute of the date picker does not work Nov 15, 2018
@wacky6
Copy link
Contributor

wacky6 commented Nov 15, 2018

It's working normally. Please upload a screenshot illustrating what's going wrong.

@liaoYang102
Copy link
Author

它正常工作。请上传截图,说明出现了什么问题。

unlink-panels

@liaoYang102
Copy link
Author

它正常工作。请上传截图,说明出现了什么问题。

The attribute of unlink-panels does not play a role ,
But the document says that it can close the connection between panels.

@liaoYang102
Copy link
Author

@wacky6

@ziyoung
Copy link
Contributor

ziyoung commented Nov 16, 2018

unlink-panels 属性的描述是

在范围选择器里取消两个日期面板之间的联动

unlink-panels 设置为 true 时,意味着切换到下一月时,另一个 date-picker 不切换。

@ziyoung
Copy link
Contributor

ziyoung commented Nov 16, 2018

行为是正常的。
kapture 2018-11-16 at 10 41 57

@ziyoung ziyoung closed this as completed Nov 16, 2018
@liaoYang102
Copy link
Author

不好意思,是我理解错了,我理解为设置unlink-panels为true时,第一次选好开始日期和结束日期,第二次选择结束日期时,开始日期会默认是第一次所选择的,不用再次点击了。 @ziyoung ,谢谢了

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

4 participants