angular-datepicker
angular-datepicker copied to clipboard
ng-model not working properly
I am using the following code to select date. But the ng-model have empty value only on selecting date.
@thiruopti please, share your code...
Have same issue using latest (1.5.8) angular... I've:
<input date-time ng-model="pickedDate">
pickedDate
is not changed in my scope on date pick... Notice, that dateTime directive has scope: true
and model changes are committed to child isolated scope. Changing to scope: false
helps, but changes the semantics...