Skip to content

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

Description

@MileanCo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions