vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

Multi-Dates with Now-Button is not working

Open chWagnr opened this issue 1 year ago • 1 comments

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

chWagnr avatar Sep 20 '24 14:09 chWagnr

TimePicker is also not working

  <vue-date-picker
    :action-row="{ showNow: true }"
    time-picker
  />

chWagnr avatar Sep 23 '24 07:09 chWagnr