Wijmo 5 input date - Expression has changed after it was checked

Posted by: feniksreborn on 31 October 2017, 1:20 am EST

    • Post Options:
    • Link

    Posted 31 October 2017, 1:20 am EST

    Hi,

    I am using:

    • “Angular 2

      Typescript

      Wijmo 5

      Visual Studio 2015”

    I am getting error for wijmo datepicker: Expression has changed after it was checked. Previous value: ‘2013-09-02T10:48:08’. Current value: ‘Mon Sep 02 2013 00:00:00 GMT+0200 (Central Europe Daylight Time)’.

    HTML

                    <wj-input-date #reminderDate
                                   [(value)]="rd"
                                   [format]="'dd.MM.yyyy'"
                                   [isRequired]="false"
                                   (valueChanged)="onReminderDateChanged(reminderDate,$event)"
                                   [isReadOnly]="ReminderDate?.IsReadOnly">
                    </wj-input-date>
    

    Typescript

        onReminderDateChanged(s: wjcInput.InputDate, e: wjcCore.EventArgs) {
            if (s.value) {
                this.rd= s.value;
            }
        }
    

    I notice that error is appearing when i use Wijmo input property [format]=“‘dd.MM.yyyy’”. Do you know some workaround for this issue?

    Thank you

  • Posted 8 November 2017, 8:23 pm EST

    Hi,

    We are sorry, we are unable to replicate the issue with 5.20172.359 build. This build have fix for ExpressionChangedAfterItHasBeenCheckedError. Please try with the latest build.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels