fix(input): don't apply textInput to <input type="file">

textInput shouldn't be applied to file inputs to ease writing of custom file input directives.

This change prevents file inputs from instantiating the text input parser/formatter pipelines.

Closes #6247
Closes #6231
This commit is contained in:
Tim Whitbeck
2014-02-13 13:27:42 -05:00
committed by Caitlin Potter
parent a3846ab837
commit a9fcb0d0fc

View File

@@ -424,7 +424,8 @@ var inputType = {
'hidden': noop,
'button': noop,
'submit': noop,
'reset': noop
'reset': noop,
'file': noop
};
// A helper function to call $setValidity and return the value / undefined,