Hi Pio Luca,
Thank you for sharing the code block.
Based on your requirement, we have prepared the sample for display the array of strings in Dialog component, please find it below.
Note: For this application, we have added the pre tag in application level, so could you please ensure, if you are applying any styles for this element?
Please let us know, if you have any concerns.
Regards,
Ashokkumar B.
Thanks for the support, the change you've shown me works as expected, but a bootstrap style is applied.
Is there a way to have the same result without changing the style?