# Dashboard-2 ui-notification msg.topic

**URL:** <https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001>\
**Category:** General\
**Tags:** dashboard-2\
**Created:** [4 April 2024 10:46 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001 "2024-04-04T10:46:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bobo](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobo/32/8401_2.png) [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Post date:** [4 April 2024 10:46 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001/1 "2024-04-04T10:46:09Z")

</div>

A quick play seemed to show that msg.topic (used to provide a "title" in D1) is not currently included, just confirming?

And a supplementary question, is there a way to force a newline in ui-notification? Everything I tried (\n\r   
 etc) seemed to come up zilch.

Thanks

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 April 2024 11:40 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001/2 "2024-04-04T11:40:30Z")

</div>

With Dashboard 2.0, there is no concept of a notification "title", it's all just rendered HTML - see [example in docs](https://dashboard.flowfuse.com/nodes/widgets/ui-notification.html#example)

In your case to render a new line, you can use the HTML way of doing things: `<br />`

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [4 April 2024 13:19 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001/3 "2024-04-04T13:19:20Z")

</div>

> [@joepavitt](#):
>

I think that should be `<br />` 🙂 or just `<br>` is fine.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [4 April 2024 13:29 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001/4 "2024-04-04T13:29:51Z")

</div>

correct - thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 April 2024 13:30 UTC](https://discourse.nodered.org/t/dashboard-2-ui-notification-msg-topic/87001/5 "2024-04-18T13:30:16Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
