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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

127069 Oct 24,2016 01:17 PM UTC Oct 25,2016 02:29 PM UTC JavaScript 1
loading
Tags: ejDatePicker
Marko Kokol
Asked On October 24, 2016 01:17 PM UTC

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?

Francis Paul Antony Raj [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;