Date validations

Posted by: samvarth123 on 3 April 2019, 7:37 am EST

  • Posted 3 April 2019, 7:37 am EST

    Whats the best way to introduce validations to wijmo input dates.I have a start date and end date and end date should be greater than start date otherwise I need to show a message below end date field.

    I am using angular 6 with wijmo

  • Posted 4 April 2019, 7:15 am EST

    Hello,

    To validate the start date and end date, you can use the *ngIf directive of angular which will display an error if the end date is less than the start date. Please refer to the sample below demonstrating the same:

    https://stackblitz.com/edit/ckkyne-jmr86v?file=src/app/app.component.html

Need extra support?

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

Learn More

Forum Channels