4856-worker.time-control #1375
|
@ -15,9 +15,9 @@ export default class Calendar extends FormInput {
|
|||
constructor($element, $scope, vnWeekDays, moment) {
|
||||
super($element, $scope);
|
||||
this.weekDays = vnWeekDays.locales;
|
||||
this.defaultDate = Date.vnNew();
|
||||
this.displayControls = true;
|
||||
this.moment = moment;
|
||||
this.defaultDate = Date.vnNew();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -38,6 +38,7 @@ export default class Calendar extends FormInput {
|
|||
|
||||
this._defaultDate = value;
|
||||
this.month = value.getMonth();
|
||||
console.log('Llega');
|
||||
this.repaint();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue