# Notification node in Dashboard2..."Are you sure?"

**URL:** https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [22 August 2024 12:19 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331 "2024-08-22T12:19:48Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![muggins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muggins/32/63013_2.png) [@muggins](https://discourse.nodered.org/u/muggins)
#### Post date: [22 August 2024 12:19 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/1 "2024-08-22T12:19:48Z")

</div>

In DB1 I used a button to send a "Are you sure" payload to notification node which had a Yes/No choice and sent out an appropriate payload. In DB2 this node is simply a dumb message. Is there an easy way to recreate this "are you sure" confirmation.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 August 2024 12:48 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/2 "2024-08-22T12:48:10Z")

</div>

> [@muggins](#):
>
> Is there an easy way to recreate this "are you sure" confirmation

Yes:

> **[Notification ui-notification | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/widgets/ui-notification.html)**
>
> Notify users of important updates and alerts with ui-notification in Node-RED Dashboard 2.0.

---

<div class="post-metadata">

### Author: ![kitori](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kitori](https://discourse.nodered.org/u/kitori)
#### Post date: [22 August 2024 13:02 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/3 "2024-08-22T13:02:30Z")

</div>

Still learning vue, but something like this?

```auto
[{"id":"173ea41b0ea00884","type":"ui-template","z":"21423082d584a949","group":"","page":"","ui":"","name":"dialog","order":1,"width":0,"height":0,"head":"","format":"<template>\n <v-btn @click=\"showDialog()\">Hi!</v-btn>\n <v-dialog v-model=\"dialog\" max-width=\"500px\">\n <v-card>\n <v-card-title>click me!</v-card-title>\n <v-card-actions>\n <v-spacer></v-spacer>\n <v-btn @click=\"dialogResponse(true)\">True</v-btn>\n <v-btn @click=\"dialogResponse(false)\">False</v-btn>\n <v-spacer></v-spacer>\n </v-card-actions>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\n export default {\n data() {\n return {\n dialog: false \n }\n },\n watch: {\n dialog(val) {\n val || this.close()\n },\n },\n computed: {},\n methods: {\n dialogResponse (val) {\n this.send({payload: val})\n this.dialog = false\n\n },\n showDialog() {\n this.dialog = true\n }\n },\n mounted() {},\n unmounted() {}\n }\n</script>\n","storeOutMessages":true,"passthru":true,"resendOnRefresh":true,"templateScope":"local","className":"","x":730,"y":640,"wires":[["edd9df0c75cc51f2"]]},{"id":"edd9df0c75cc51f2","type":"debug","z":"21423082d584a949","name":"debug 462","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":930,"y":640,"wires":[]}]

```

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [22 August 2024 13:06 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/4 "2024-08-22T13:06:39Z")

</div>

But you will need to install version 1.15.0 of the dashboard (released a few hours ago) to get the OK/Cancel feature.

---

<div class="post-metadata">

### Author: ![muggins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muggins/32/63013_2.png) [@muggins](https://discourse.nodered.org/u/muggins)
#### Post date: [22 August 2024 13:46 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/5 "2024-08-22T13:46:12Z")

</div>

I'm just starting with db2. Where is ui-notification as it's not on the db2 node list.  
I have upgraded to 1.15.0

---

<div class="post-metadata">

### Author: ![muggins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/muggins/32/63013_2.png) [@muggins](https://discourse.nodered.org/u/muggins)
#### Post date: [22 August 2024 13:52 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/6 "2024-08-22T13:52:44Z")

</div>

Still learning ?? Very good. perfect for me thanks

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [22 August 2024 14:05 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/7 "2024-08-22T14:05:54Z")

</div>

> [@muggins](#):
>
> Where is ui-notification as it's not on the db2 node list.

The ui-notification widget has always been there, it is just the confirm feature that has now been added.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/e/ee9697e906d765bfa7bd8184a083ffce948657d7.png)

---

<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: [21 September 2024 14:05 UTC](https://discourse.nodered.org/t/notification-node-in-dashboard2-are-you-sure/90331/8 "2024-09-21T14:05:57Z")

</div>

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