TIWSweetAlert Text linefeed

<< Click to Display Table of Contents >>

Navigation:  Forum >

TIWSweetAlert Text linefeed

Forum link

 

 

 


 

07-18-2024, 10:50 AM:

 

How can I pass a linefeed <br> to the Text property of a TIWSweetAlert component?

 

 

 


 

07-29-2024, 09:58 AM:

 

(07-18-2024, 10:50 AM)Comograma Wrote: [ -> ]How can I pass a linefeed <br> to the Text property of a TIWSweetAlert component?

 

Using normal line breaks (#10#13) should work. Have you tried?

 

 

 


 

07-31-2024, 09:43 AM:

 

(07-29-2024, 09:58 AM)Alexandre Machado Wrote: [ -> ] (07-18-2024, 10:50 AM)Comograma Wrote: [ -> ]How can I pass a linefeed <br> to the Text property of a TIWSweetAlert component?

 

Using normal line breaks (#10#13) should work. Have you tried?

 

No, doesn't work.

 

I have to workaround that by calling Swal.fire and use the html property to do line breaks, instead of text property, as the text can be HTML text. Something that should be enhanced.

 

Code:

 

ExecuteJS('Swal.fire({title: "Some title", icon: "info", html: "Line 1<br>Line2"});');