Not able to set null/empty for wj-input-date field

Posted by: rajalakshmi.sm on 19 June 2018, 3:05 am EST

  • Posted 19 June 2018, 3:05 am EST

    Hi

    Environment details is listed below.

    OS:- Windows 10 64-bit

    Wijmo:- 5.20162.231 (Licensed Version)

    Angular:- Angular 2.x

    // Design

    I cant set null/empty value for wj-input-date field. Current date is applied or set as default. but i need to set null/empty value. wj-input-date field is a required field too.

    Regards,

    Raje

  • Posted 19 June 2018, 4:49 pm EST

    Looks like this only works with [isRequired]=“false”

    https://www.grapecity.com/en/forums/wijmo/setting-input-date-to-null

  • Posted 19 June 2018, 5:17 pm EST

    Hi,

    For this, the isRequired property should be set to false.

    You may set it to required on gotFocus event by setting isRequired to true.

    ~Manish

Need extra support?

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

Learn More

Forum Channels