- allow
require
to be specified without a value and thus be translated to a true
- required was being set even though the attribute wasn't present
-
Remove options object since it made the uploadButton more advanced then it needed to be.
-
Add onUpload callbacks which fires when the upload starts
-
Add required attributes that adds ng-invalid ng-invalid-required when it's set.
Since the upload empties itself when done, you need set required="false" explicitly when you are done uploading to remove the required attribute on the file input
-
Better documentation and examples
- Retain headers if there are any #15
- Removed javascript styling of upload button that was causing width=0 height=0
- uploadButton
- one way databinding for accept and multiple and forceIFrame
- uploadButton
- Only upload if any files where selected
- accept attribute (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input#attr-accept) Also allows for an js array as input
- empty input fix
- bump test
- Don't replace the clone when done uploading, since you usually want the input to be cleared.
- Added onComplete that fires for both success and failure
- Fixed #4 should allow setting url from options object
- Fixed #2 the upload would send Content-Type: false
- Don't depend on bootstrap in uploadButton lessfile
FormData upload