Closed easyest closed 7 years ago
I fixed the problem by changing the code from:
.on('keydown', function (e) { return $scope.keyboard && $scope.$evalAsync(function () { return $scope.view.keydown(e); }); });
to:
.on('keydown', function (e) {
if ($scope.keyboard) {
return $scope.$evalAsync(function() { return $scope.view.keydown(e); });
} else {
return true;
}
});
Thank you @easyest, this fix will be available in the next release!
Many thanks :)
I ran into this same issue and was just about to make a pull request and noticed it was already fixed in master.
Any info when next release might be tagged?
Hi @cvuorinen, I'll release next version next Tuesday.
If jQuery is loaded, then it is not possible to enter date by keyboard into an input. Plunker here: https://plnkr.co/edit/hs10SM?p=preview
It would seem the problem is with the code:
.on('keydown', function (e) { return $scope.keyboard && $scope.$evalAsync(function () { return $scope.view.keydown(e); }); });
jQuery documentation mentions that: