Topic: Break in the defaultMsg of MDBFileUpload plugin

Willium priority asked 2 years ago

Expected behavior

<MDBFileUpload id="file" defaultMsg='line 1 \n line 2 \n line 3 /> should be printed in 3 lines.

Actual behavior

It printed in one line.

Resources (screenshots, code snippets etc.)

<MDBFileUpload id="file" defaultMsg='line 1 \n line 2 \n line 3 />

How can I make break in the defaultMsg of the MDBFileUpload plugin?

Mateusz Trochonowicz staff answered 2 years ago

Hi! Unfortunately, this is impossible - content of prop defaultMsg is nested in a single paragraph.

Keep coding!

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 2.0.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No