SnackbarStack multiline #5033
Replies: 1 comment
-
I was able to find the options that the snackbar had in order to show the multiline |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using a snackbarstack to show some error messages on my app. What I want to do is when I am enabling the multiline to be able to use the new line literal (\n or \r\n). I have tried to use the child content of the snackbar and use this code:
in order to replace the new line literal in to a br. The problem is that I am getting twice the message, one in a snackbar with no new lines and one with the correct new lines but as a plain text (behind the snackbarstack component).
Is there a way to show a multiline message but be able to use something to indicate a break line?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions