Setting Input Date to NULL

Posted by: selvakumar.periyasamy on 6 December 2017, 8:15 am EST

    • Post Options:
    • Link

    Posted 6 December 2017, 8:15 am EST

    Hi

    I’m using wijmo Input Date field in angular 2, when I set a null value the field is showing blank (I have set isrequired to false) , but when i click the control it puts today’s date and when i try to clear the date I’m not able to get it cleared, I’m always seeing todays date after I get focus to the control.

    Please help me in resolving this.

    Thanks

    Selvakumar

  • Posted 6 December 2017, 11:19 pm EST

    Hi Selvakumar,

    We are sorry, we are unable to replicate the issue at our end with build 5.20173.380. Please refer to the plunker for the same.

    http://plnkr.co/edit/yvUKcjJ8SfhATxeS4DMm?p=preview

    ~Manish

  • Posted 7 December 2017, 2:27 am EST

    Hi Manish,

    I’m using the Build Number 5.20171.300 , is this fix not available in this buid?

    Thanks

    Selvakumar P

  • Posted 7 December 2017, 4:10 pm EST

    Hi SelvaKumar,

    The same code provided in plunker is also worked with 5.20171.300 build. Please use the following code snippet for the same.

    <wj-input-date #date 
                       [isRequired]="false" 
                       [value]="null">
        </wj-input-date>
    

    In case the issue persists, please share a demo sample for the same.

    ~Manish

Need extra support?

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

Learn More

Forum Channels