(val)
| 25717 | } |
| 25718 | |
| 25719 | function stepChange(val) { |
| 25720 | stepVal = parseNumberAttrVal(val); |
| 25721 | // ignore changes before model is initialized |
| 25722 | if (isNumberNaN(ctrl.$modelValue)) { |
| 25723 | return; |
| 25724 | } |
| 25725 | |
| 25726 | // Some browsers don't adjust the input value correctly, but set the stepMismatch error |
| 25727 | if (supportsRange && ctrl.$viewValue !== element.val()) { |
| 25728 | ctrl.$setViewValue(element.val()); |
| 25729 | } else { |
| 25730 | // TODO(matsko): implement validateLater to reduce number of validations |
| 25731 | ctrl.$validate(); |
| 25732 | } |
| 25733 | } |
| 25734 | } |
| 25735 | |
| 25736 | function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) { |
nothing calls this directly
no test coverage detected