We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

ej-datepicker with angularjs causing the form to be dirty before any changes

I am using the ej-datepisker control within an angular project and am having an issue with the control. The control is included like this:
<input type="text" ej-datepicker e-width="100%" e-dateFormat="dd.MM.yyyy" e-value="ngModel"/>

The problem I am seeing is that when the form is intialized, it is already marked as dirty (dirty: true, pristine: false), even before making any changes. If I remove the ej-datepicker control, the form works as expected.

Any ideas what the problem may be?

1 Reply

FP Francis Paul Antony Raj Syncfusion Team October 25, 2016 02:29 PM UTC

Hi Marko, 
 
We are able to reproduce the reported issue (“DatePicker marked as Dirty when Scope value is undefined or null”) and logged a defect report for this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates 
 
 
Regards, 
Francis Paul A 


Loader.
Live Chat Icon For mobile
Up arrow icon