Wijmo datepicker

Posted by: samvarth123 on 30 March 2020, 12:29 am EST

    • Post Options:
    • Link

    Posted 30 March 2020, 12:29 am EST

    Hi team !

    Is there a provision in wijmo date pickers to do the below : Instead of using the data picker or typing a date, user should be able to type shortcuts Eg : 1) T-1 = Yesterdays Date 2)T-10 = Date 10 days ago 3)“T” for todays date 4) T+2 = Date two days in future

    If you have similar thing please provide an example or approach to do the saem

    We are using angular 7

  • Posted 30 March 2020, 9:32 pm EST

    Hi Sam,

    This is not supported in InputDate but you can add its support manually. You will need to handle the event of which the Enter key is pressed and parse your expression.

    Please refer to the sample below for reference:

    https://stackblitz.com/edit/ckkyne-r3ovg1

    Regards,

    Ashwin

Need extra support?

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

Learn More

Forum Channels