Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
610
Reactive forms sample "this.value.getHours is not a function exception" when selecting a date using igx-datePicker
posted

I'm getting the above error when I run your reactive forms sample and select a date with the 

igx-datePicker control.  Getting the same error in my code using igx-datePicker now I upgraded to 18.2.    
 
JK
  • 610
    Offline posted

    Thanks for info.  This fixed my issue.

    JK

  • 280
    Offline posted

    Hi,

    Thank you for contacting us!

    The issue causing this behavior is that the igx-date-picker value is bind with an empty string.

    I logged a bug in our GitHub repository to avoid this behavior. 

    You can use the Reactive Forms in this StackBlitz sample where the issue is fixed.

    Please, let me know if you have any further questions.