Skip to main content
1-Visitor
August 31, 2020
Solved

Multi line status message

  • August 31, 2020
  • 2 replies
  • 2143 views

Is is possible to generate a multi line message for the status message widget.

Looking to display a number of status messages i.e.

error 1

error 2

 

I have tried inserting the new line character (\n) but the widget still draws on a single line. If I output the same text to a text area widget it does display on multiple lines

 

Thanks in advance

K

 

    Best answer by abhiramk

    Not sure, how to tweak the status message but, as you mentioned it's showing multi-line in textArea, use that only as workaround.

     

    some event will be triggering the status message and you are already passing some static/dynamic message right. Instead of passing it to status message, keep small popup with text area and bind the message which you want to display.

    When event triggers show that message in the popup and you can also keep ok button to acknowledge the message, on click of 'Ok button' close mashup or keep some time and close mashup as a workaround.

     

    If it fits your use case or okay with the UX. You can try this.

     

    2 replies

    abhiramk1-VisitorAnswer
    1-Visitor
    August 31, 2020

    Not sure, how to tweak the status message but, as you mentioned it's showing multi-line in textArea, use that only as workaround.

     

    some event will be triggering the status message and you are already passing some static/dynamic message right. Instead of passing it to status message, keep small popup with text area and bind the message which you want to display.

    When event triggers show that message in the popup and you can also keep ok button to acknowledge the message, on click of 'Ok button' close mashup or keep some time and close mashup as a workaround.

     

    If it fits your use case or okay with the UX. You can try this.

     

    khayes11-VisitorAuthor
    1-Visitor
    September 1, 2020

    Hi,

    thanks for the reply. I will keep it in mind as a good alternative thank you. I'll leave the ticket open for now in case someone knows a way to fix the original problem via the status message, if not then I'll close it.