(val)
| 26098 | } |
| 26099 | |
| 26100 | function stepChange(val) { |
| 26101 | stepVal = parseNumberAttrVal(val); |
| 26102 | // ignore changes before model is initialized |
| 26103 | if (isNumberNaN(ctrl.$modelValue)) { |
| 26104 | return; |
| 26105 | } |
| 26106 | |
| 26107 | // Some browsers don't adjust the input value correctly, but set the stepMismatch error |
| 26108 | if (supportsRange && ctrl.$viewValue !== element.val()) { |
| 26109 | ctrl.$setViewValue(element.val()); |
| 26110 | } else { |
| 26111 | // TODO(matsko): implement validateLater to reduce number of validations |
| 26112 | ctrl.$validate(); |
| 26113 | } |
| 26114 | } |
| 26115 | } |
| 26116 | |
| 26117 | function urlInputType(scope, element, attr, ctrl, $sniffer, $browser) { |
nothing calls this directly
no test coverage detected