File Input set additional options


Topic: File Input set additional options

Liz Cross asked 6 years ago

Hi, how can I set additional options for mdbFileSelect

options: UploaderOptions; this.options = { concurrency: 0, maxUploads:1, allowedContentTypes: ['image/jpeg', 'image/png', 'image/gif'] };

  <input type="file" [options]="options" mdbFileSelect (uploadOutput)="onUploadOutput($event)" [uploadInput]="uploadInput" required>

does not set the options in the ngx-uploader.Thanks.


Damian Gemza staff answered 6 years ago

Dear Liz,

It seems that there's some strange problem.

We'll investigate this and we'll fix it in the nearest future.

Best Regards,

Damian


gauravrkc90 answered 6 years ago

Hi Damian,

I am facing the same problems with setting the options in file input. Any solutions will be helpful.

Thanks Gaurav


Arkadiusz Idzikowski staff answered 6 years ago

This problem should no longer occur, which version do you use? Please try to upgrade to 7.4.4 or newer and let me know if the options input work correctly.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.2.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags