Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Choose Files" still showing ontop of BROWSE button #79

Open
MileanCo opened this issue Jul 28, 2017 · 0 comments
Open

"Choose Files" still showing ontop of BROWSE button #79

MileanCo opened this issue Jul 28, 2017 · 0 comments

Comments

@MileanCo
Copy link

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.

image

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??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant