Skip to content

Multi-Dates with Now-Button is not working #1000

Closed
@chWagnr

Description

@chWagnr

Describe the bug
Using multi-dates in combination with now-button leads to this: Uncaught TypeError: a.value.map is not a function

To Reproduce
Steps to reproduce the behavior:

  1. Create a date picker with now-button and multi-dates
  <vue-date-picker
    :action-row="{ showNow: true }"
    multi-dates
  />
  1. Click on input field to open menu
  2. Click on now-button
  3. Click on submit

Expected behavior
The current date should be selected.

Desktop & mobile (please complete the following information):

  • Browser chrome
  • Library version 9.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions