How can i break line inside ConfirmDialog

I’d like to know how can i input \n or
inside ConfirmDialogbox

:wave: You should be able to add a Html("<br/>") component into ConfirmDialog

Yes, the setText method can take a component, so you can put e.g. a Span there that is configured for line breaks like so

Span span = new Span("Message! \n with \n line breaks");

I’ll try thank you

In my code there is not .setWhiteSpace propertie


Sounds like you are on a old version :wink:

newSpan.getElement().getStyle().set(“white-space”, “pre-line”);

I’ll try !

it works !! thx so much !