[Vuejs]-Why are the minutes disabled in vue-ctk-date-time-picker?

0👍

For anyone else having this problem, this is the solution according to the document here: https://github.com/chronotruck/vue-ctk-date-time-picker#behaviour

In order to avoid having too much properties in the component, We’re
adding a behaviour property that is an object including some annex
behaviour values.

The default value for this object is:

{
  time: {
    nearestIfDisabled: true;
  }
}

To override those values, pass a new object with the values you want
to override:

<ctk-date-time-picker
  :behaviour="{
    time: {
      nearestIfDisabled: false
    }
  }"
/>

Leave a comment