Skip to main content
Question

How to add line break in Aurena toast message

  • December 21, 2022
  • 3 replies
  • 295 views

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • 863 replies

Hi All,

 

I want to have a line break in the toast message.

 

It results in following

 

Is there any syntax to add a line break between the lines?

 

Cheers!

Damith

 

3 replies

Forum|alt.badge.img+28
  • Superhero (Customer)
  • 1482 replies
  • December 21, 2022

Try <br> ??

 

 

<html>   <body>      <script>         <!--            document.write("Hello World!");            document.write("<br>");            document.write("Demo<br><br>Text!");          //-->      </script>   </body></html>

 

Hello World!

Demo

 

Text!


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Author
  • Ultimate Hero (Partner)
  • 863 replies
  • December 22, 2022

Thanks for the comment @ShawnBerk,. Unfortunately <br> didn’t work. I then tried the common newline (\n) but it didn’t work as well.

As a solution I used two toast messages 

 and the result looks promising and I could carry with my developments :)

 

But I’d still like to know what’s the syntax for adding a line break in a toast message since it could be useful.

 

Cheers!

Damith


Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 18 replies
  • April 18, 2024

I have registered a request with Idea to enable line breaks in toast messages.

https://community.ifs.com/ideas/toast-message-does-not-break-line-ifs-cloud-47396

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings