charliekassel / vuejs-datepicker

A simple Vue.js datepicker component. Supports disabling of dates, inline mode, translations
MIT License
2.61k stars 730 forks source link

Current date is not highlighted after changing format #194

Open jagadeshanh opened 7 years ago

jagadeshanh commented 7 years ago
import myDatepicker from 'vue-datepicker';
export default{
        components: {
            'date-picker': myDatepicker
        },
        data(){
               return{
                        datePicker: {
                             time: moment().format("DD-MM-YYYY"),
                        }
               }
       }
}

<date-picker :date="datePicker"></date-picker>

boruchsiper commented 5 years ago

same issue here. I had to use workaround by using the highlighted prop.