You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a solution if you are trying to prevent tabbing into the picker.
The problem is that the keyboard option is never taken into the account when input attribute is added. It will always be 0 regardless of keyboard set to true or false.
You can change the source code (line 505 for me but I've seen some files where it's line 303) to this:
$scope.input.addClass('moment-picker-input').attr('tabindex', $scope.keyboard ? 0 : -1);
First of all thanks for your work on this picker.
I got a problem with organizing my form input tabindexs. It seems that the picker overwrites the tabindex always with
0
(Line 303)Why can't the value be inheritet?
Small Plunker Example for this behavior http://plnkr.co/edit/RYTDM3N9GbJpBZgqbaYR?p=preview
The text was updated successfully, but these errors were encountered: