Posted 17 July 2018, 1:04 am EST
Hi,
I’m currently testing wijmo solution on our POC.
I’ve an issue with the input date and I’ve currently found any solution.
Each time I click on wj-input-date, the method on valuechanged is called.
Html :
<wj-input-date #date [value]="dateObjectif"
[format]="'dd/MM/yyyy'"
[min]="dateExerciceMini"
[max]="dateExerciceMaxi"
(valueChanged)="changeDateObjectif(date, $event)">
</wj-input-date>
Ts Code:
changeDateObjectif(dateInput: wjInput.InputDate, e: wjCore.EventArgs): void {
if (dateInput.value && dateInput.value !== this.dateObjectif) {
this.dateObjectif = dateInput.value;
this.dashboardDataService.setDateObjectif(this.dateObjectif);
}
}
Could you please have a look and advice?
Thanks