Date-picker sometimes is stuck and I have no error Vuejs

974 Views Asked by At

I use vue-date-pick . The problem is that sometimes the date picker is stuck. Ex:(1. select date, (show in input)-> select date, (show in input), select date (don't change in input)), and the problem is that is random ,and no error message. If is a problem with this date-pick, I can change to another (but must have a display-format option. Just for DOM)

<date-pick
    v-model="setDate"
></date-pick>

import DatePick from 'vue-date-pick';

data(){
   return{
     setDate:'',
   }
}
1

There are 1 best solutions below

0
Beusebiu On BEST ANSWER

I solve it with the solution from here.

The problem is if you use vue-bootstrap.

You have to edit the module. (src/dist folders)

Remove focusin from:

['click', 'keyup', 'focusin'].forEach( eventName => document.addEventListener(eventName, this.closeEventListener) );