Break in the defaultMsg of MDBFileUpload plugin


Topic: Break in the defaultMsg of MDBFileUpload plugin

Willium pro premium 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 pro premium priority 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.

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: Yes
  • Technology: MDB Vue
  • MDB Version: MDB5 2.0.0
  • Device: All
  • Browser: All
  • OS: All
  • Provided sample code: No
  • Provided link: No