Skip to content
This repository has been archived by the owner on Apr 17, 2022. It is now read-only.

Now button crashes datepicker #54

Closed
tomIQME opened this issue Dec 1, 2021 · 2 comments
Closed

Now button crashes datepicker #54

tomIQME opened this issue Dec 1, 2021 · 2 comments
Labels
bug Something isn't working enhancement New feature or request
Milestone

Comments

@tomIQME
Copy link

tomIQME commented Dec 1, 2021

Hey,

first of all thanks for this datepicker component. I really like it.
Unfortunately I discovered a bug with the now button.

Describe the bug
If I have a one screen calendar for a date range and click on the now button I am not able to select a new date or date range.

To Reproduce
Steps to reproduce the behavior:

  1. implement datepicker as follows:

<Datepicker :enableTimePicker="false" :locale="'de-DE'" :range="true" :twoCalendars="false" :format="'dd.MM.yyyy'" :showNowButton="true" v-model="date" ></Datepicker>

  1. open picker and select a date range
  2. click on now button
  3. selected range disappears and I am not able to select a new date

Expected behavior
After I click on the now button I should be able to select a new date range.

Desktop (please complete the following information):

  • OS: macOS 12.0.1
  • Browser: Chrome v. 96.0.4664.55
@Jasenkoo Jasenkoo added bug Something isn't working enhancement New feature or request labels Dec 1, 2021
@Jasenkoo Jasenkoo added this to the v2.4.0 milestone Dec 1, 2021
@Jasenkoo
Copy link
Contributor

Jasenkoo commented Dec 1, 2021

WIll add it in the next version, this is both an issue and an enhancement, since it was originally intended for singe date usage

Jasenkoo added a commit that referenced this issue Dec 1, 2021
- Prevent auto apply if not specified
@Jasenkoo
Copy link
Contributor

Version 2.4.0 is now live with included both fix and support for range mode

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants