File Input Component – Wrong Import Statement In Docs


Topic: File Input Component – Wrong Import Statement In Docs

nick.celestin pro asked 7 years ago

https://mdbootstrap.com/angular/components/inputs/#file-input

I've installed MDB Angular Pro via NPM. In which case, this:

import { UploadFile, UploadInput, UploadOutput } from 'your_path_to/typescripts/pro';
import { humanizeBytes } from 'your_path_to/typescripts/pro/file-input';

should be
import { UploadFile, UploadInput, UploadOutput } from 'your_path_to/typescripts/pro/file-input';
import { humanizeBytes } from 'your_path_to/typescripts/pro/file-input';

And it would be nice if the documentation addressed the difference between import statements from the manually downloaded product and the NPM installed product.


Damian Gemza staff answered 7 years ago

Hello Nick, Thanks for your's advice. We'll take a look at this, and we'll try to implement your's case in next releases. Best Regards, Damian
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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No