Topic: async image mdb file upload
Moises Trigueros 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
the code in pipe imageUserSrc
Thanks in advance!
Moises Trigueros answered 5 years ago
I did the test as follows
code
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 commented 5 years ago
it's ok , i'll wait for the change , thanks!!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: 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
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 commented 5 years ago
The image doesn't load :(