Multiline messages


Does anyone know if there is a way to create multi-line messages with the Messages components?

I don’t mean just very long strings. I mean when the user clicks ‘Enter’ to change line the message display respects his ‘line-changes’.

Thank you

Just replace “new-line” character \n to <br> when you convert messagebar value to message text, e.g.

value.replace(/\n/g, '<br>')