Hello
This is a rather simple issue that I can't seem to find an answer on. I want to display a multi-line message dialog, but it doesn't seem to add a new line when I place \n in my message string. It isn't displaying it as plain text either, so it is being recognised, but without the resulting carriage return. Am i missing something obvious?
You can see from my code snippet below, I want a line break before the "WARNING".
onClick: async () => {
const result = await MessageDialog.confirm({
title: 'Reload Data',
message: 'Are you sure you want to reload Scheduler data? \n WARNING: Any changes made will be lost.',
okButton: 'Yes',
cancelButton: 'No'
});
But what i am getting is a single line as per the attached.