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-datetimepicker: Unable to apply our own custom directives to an element when ej-datetimepicker is applied to same element.

Thread ID:





121497 Dec 21,2015 12:15 PM UTC Dec 23,2015 02:03 PM UTC JavaScript 3
Tags: ejDateTimePicker
Greg Gannicott
Asked On December 21, 2015 12:15 PM UTC

Since applying the upgrade, directives which we're applying to an element which has ej-datetimepicker applied to it, are not being applied.

So for example, if I have the following basic directive:

angular.module("ma.directives").directive("maSyncFusionDisabled", [function () {
    return {
        type: "A",
        scope: true,
        link: function (scope, element, attrs) {

And apply it alongside ej-datetimepicker:

<input ma-sync-fusion-disabled="isTemplateLive" ej-datetimepicker />

... the 'console.log("linked")' above is not triggered.

If I remove ej-datetimepicker from the element, it is triggered.

There are no errors in the console log which might help.

I have tried the various scope types to our directive. eg:
  • scope: true
  • scope: {}
  • ... or no scope at all.

Greg Gannicott
Replied On December 22, 2015 09:57 AM UTC

Just for your info, this doesn't just affect our custom Directives, but standard AngularJS directives (eg. ng-blur) are no longer applying to your control (they did prior to the upgrade).

It's also affecting ejNumberSpinner.

I haven't checked other controls.


Robert David
Replied On December 22, 2015 04:54 PM UTC

This is not isolated to just the date picker I can replicate the lack of ng-blur in the numeric text box too however it does look like both ng-blur and e-focusout are not firing in the playground.


Saravanan Janakiraman [Syncfusion]
Replied On December 23, 2015 02:03 PM UTC

Hi Robert,

Thanks for contacting Syncfusion support.

We are able to reproduce the reported issue. We have confirmed this as a defect and logged an issue report for this. Please log on to our support website to check for further updates.

Link: https://www.syncfusion.com/account/login

Please let us know if you have further queries.


Saravanan A J


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

This page will automatically be redirected to the 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