Open israelsaraiva opened 8 years ago
Use this code and check, its working fine for me
input kendo-date-picker ng-model="dateString" k-ng-model="dateObject" ng-change="change(dateString)" style="width: 100%;" placeholder="Select a date" k-format="'dd/MM/yyyy'" required />
In Controller you can use
$scope.change = function(value){ $scope.data = value; }
Hi guys!
I'm using (k-format = "dd/MM/yyyy") to set date formate of kendo-date-picker, so, after date selected the format was not respected. I tried to use (k-options ="dateTimePickerOptions") making
it worked, but before sending data to the server, i checked out the data on scope and the console.log returned "Invalid Date".
this is my complete code:
Can anyone help me?