angular-datepicker icon indicating copy to clipboard operation
angular-datepicker copied to clipboard

ng-model not working

Open superdaminou opened this issue 7 years ago • 1 comments

Hello,

I've got troubles to bind my date-time with my controller In my html i've got <input date-time ng-model='date' >

and in my controller i've got a un-initialized $scope.day but used in a method

after selecting my date with the date picker and running my function using $scope.day i can see that this variable is still blank it's like the ng-model is not working with date-time

Do you have any clue or solution ? Thanks

superdaminou avatar Feb 22 '18 14:02 superdaminou

@superdaminou you might need to use double quotes <input date-time ng-model="date" /> not single.

jacksonrdlc avatar Feb 23 '18 15:02 jacksonrdlc