element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] DatePicker:picker-options[disabledDate] Nothing writes back to input when using the Safari.

Open umiyo opened this issue 9 years ago • 1 comments

Element UI version

1.4.0

OS/Browsers version

MacOS Safari 10.1.2

Vue version

2.4.2

Reproduction Link

http://output.jsbin.com/porewe

Steps to reproduce

The DatePicker component with setting type to datetime, two the components in one page. When setting the attribute picker-options, I got expected result in Chrome and Firefox, But unexpected in Safari.

What is Expected?

The Start Datetime is from now on, The End Datetime can't be earlier than The Start Datetime and now. If The End Datetime was set, The Start Datetime is no later than The End Datetime. In Chrome and Firefox, I got the Expected, But can't be written back to the input using Safari.

What is actually happening?

In Safari, disabling Now is valid, but the selection can't be written back to the Input, and disabling the date time range also is unvalid.

umiyo avatar Jul 31 '17 08:07 umiyo

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 18 '19 05:02 stale[bot]