Topic: async image mdb file upload

Moises Trigueros free asked 5 years ago


Expected behavior It's possible to load image with async pipe in mdb-file-upload plugin?

something like it is shown in the code below

enter image description here

the code in pipe imageUserSrc enter image description here

Thanks in advance!


Arkadiusz Idzikowski staff commented 5 years ago

Did you encounter any problems when using this approach? It should work correctly as long as you pass string with the path to image to the defaultFile input.

Are you sure that your pipe returns correct img path?


Moises Trigueros free commented 5 years ago

The image doesn't load :(


Moises Trigueros free answered 5 years ago


I did the test as follows

code

enter image description here enter image description here

load them in the same way, in the img load the image but in the mdb-file-upload not.

What could it be? Or is there another way to upload images to the plugin?


Arkadiusz Idzikowski staff commented 5 years ago

We will take a closer look at that. It looks like a bug and I'm afraid that there is no easy workaround for now, we will need to make some changes in the internal code of the component.


Moises Trigueros free commented 5 years ago

it's ok , i'll wait for the change , thanks!!



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.5.4
  • Device: Laptop
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: No
  • Provided link: No