Open MileanCo opened 7 years ago
I'm using Angular 1.6+ with Meteor 1.5+
Using the code provided in demo:
<form name="uploadForm" layout="column" > <lf-ng-md-file-input name="files" lf-files="ctrl.files" lf-required lf-maxcount="1" lf-mimetype="audio/*" multiple progress drag preview></lf-ng-md-file-input> <div ng-messages="uploadForm.files.$error" style="color:red;"> <div ng-message="required">This is required.</div> <div ng-message="maxcount">Too much files.</div> <div ng-message="filesize">File size too large.</div> <div ng-message="totalsize">Total size too large.</div> <div ng-message="mimetype">Mimetype error.</div> </div> <md-button type="button" ng-disabled="uploadForm.$invalid" class="md-raised md-primary" ng-click="submit_upload()">Submit</md-button> </form>
I'm still seeing the default input field "Choose Files" on-top of the new BROWSE button/input.
This can be solved by doing something like https://stackoverflow.com/questions/26895125/how-to-hide-default-choose-file-button
but I figured this library should handle this??
I'm using Angular 1.6+ with Meteor 1.5+
Using the code provided in demo:
I'm still seeing the default input field "Choose Files" on-top of the new BROWSE button/input.
This can be solved by doing something like https://stackoverflow.com/questions/26895125/how-to-hide-default-choose-file-button
but I figured this library should handle this??