Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(input): use lowercase method to account for undefined type
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbcross committed Aug 22, 2014
1 parent 9352bdf commit 066c049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/directive/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ function addNativeHtml5Validators(ctrl, validatorName, badFlags, ignoreFlags, va
function textInputType(scope, element, attr, ctrl, $sniffer, $browser) {
var validity = element.prop(VALIDITY_STATE_PROPERTY);
var placeholder = element[0].placeholder, noevent = {};
var type = element[0].type.toLowerCase();
var type = lowercase(element[0].type);
ctrl.$$validityState = validity;

// In composition mode, users are still inputing intermediate text buffer,
Expand Down

0 comments on commit 066c049

Please sign in to comment.