Commit dc3bfd7088ae4a2a4fc695b17e3d234db867894e
1 parent
33b28973a3
Exists in
master
Agrego clase a los input
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/uppercaseOnly-directive.js
... | ... | @@ -8,13 +8,13 @@ angular.module('focaDirectivas') |
8 | 8 | !attrs.readonly && |
9 | 9 | !attrs.disabled && |
10 | 10 | !attrs.uibDatepickerPopup) { |
11 | - | |
12 | 11 | modelCtrl.$parsers.push(function(input) { |
13 | 12 | return input ? input.toUpperCase() : ''; |
14 | 13 | }); |
15 | 14 | } |
16 | 15 | |
17 | 16 | element.addClass('text-uppercase'); |
17 | + element.addClass('foca-input'); | |
18 | 18 | element[0].autocomplete = 'off'; |
19 | 19 | } |
20 | 20 | }; |