Topic: MdbFileUpload - Update the file name
Any option to change the file name after reading it from the default file.
<mdb-file-upload #uploader id="quizCrAddSetFileUpload" (fileRemoved)="onFileRemove()" (fileAdded)="onFileAdd($event)" [defaultFile]="quiz.imageUrl"></mdb-file-upload>
Default file URL:
When I keep the same in default file no image is rendered. But if I append the URL with .png or any image extension it's rendering in the plugin and it takes the file name as view.png.
I want to change the file name or remove the file name.
I'm afraid we cannot do anything with the problem with file name, because we need to somehow read the extension of the default file and check how we should display it in the component template.
As you can see in our changelog, we added other requested changes: https://mdbootstrap.com/docs/angular/changelog/#820
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: 8.0.0
- Device: all
- Browser: all
- OS: all
- Provided sample code: No
- Provided link: No