# Ok/Cancel-dialog in dashboard v2

**URL:** https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [4 July 2024 08:32 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257 "2024-07-04T08:32:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![kitkat159](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kitkat159/32/66066_2.png) [@kitkat159](https://discourse.nodered.org/u/kitkat159)
#### Post date: [4 July 2024 08:32 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/1 "2024-07-04T08:32:06Z")

</div>

In dashbord v1 there was an option for the ui-notification to show an OK/Cancel-dialog (with or without input field.  
Is there any possibility/workaround to do this with dashboard v2?

---

<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 July 2024 10:06 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/2 "2024-07-04T10:06:11Z")

</div>

Hey @kitkat159 - welcome back to the community.

We have this Pull Request open: [notification ui node enhancements by bartbutenaers · Pull Request #932 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/pull/932) which adds some extra functionality for an ok/cancel on the notifications. I am overdue on a big review of it, and hopefully it'll get in very soon.

It's not a full blown dialog per-say. Would that PR cover what you're after?

---

<div class="post-metadata">

### Author: ![kitkat159](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kitkat159/32/66066_2.png) [@kitkat159](https://discourse.nodered.org/u/kitkat159)
#### Post date: [4 July 2024 11:57 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/3 "2024-07-04T11:57:05Z")

</div>

Thank you, @joepavitt, this is exactly what I'm looking for!

It covers the main functionality I need, ~~but design-wise it would be nice to have the dialog centered so that the user knows, there's some action to perform.~~

Forget about the last part - I just discovered there is an option for "Center", but it doesn't seem to work? (The options for "Bottom center" and "Center" both show the notification located bottom center... @flowfuse/node-red-dashboard v1.12.4)

---

<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: [4 July 2024 12:41 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/4 "2024-07-04T12:41:33Z")

</div>

> [@kitkat159](#):
>
> The options for "Bottom center" and "Center" both show the notification located bottom center.

See [this issue](https://github.com/FlowFuse/node-red-dashboard/issues/960) where it is noted that this is a bug in the underlying Vuetify code which apparently will be fixed soon.

---

<div class="post-metadata">

### Author: ![kitkat159](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kitkat159/32/66066_2.png) [@kitkat159](https://discourse.nodered.org/u/kitkat159)
#### Post date: [5 July 2024 08:51 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/5 "2024-07-05T08:51:49Z")

</div>

Perfect! Thank you 🙂

---

<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: [19 July 2024 08:51 UTC](https://discourse.nodered.org/t/ok-cancel-dialog-in-dashboard-v2/89257/6 "2024-07-19T08:51:58Z")

</div>

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