Skip to content Skip to sidebar Skip to footer

Angularjs Custom Directive For Datepicker Do Not Update Ng-model

I checked all open questions with similar topic but neither gives me proper working solution which drives me crazy and that is why I opening this question. My custom directive look

Solution 1:

I would check the scope values on the directive. I'm guessing that ng-model is setting the value on the isolate scope, not the controller.

Or try using

ng-model="$parent.jumpDate"

Post a Comment for "Angularjs Custom Directive For Datepicker Do Not Update Ng-model"