# Refresh ui-node

**URL:** https://discourse.nodered.org/t/refresh-ui-node/13921
**Category:** Dashboard
**Created:** [2 August 2019 09:16 UTC](https://discourse.nodered.org/t/refresh-ui-node/13921 "2019-08-02T09:16:49Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)
#### Post date: [2 October 2019 22:17 UTC](https://discourse.nodered.org/t/refresh-ui-node/13921/11 "2019-10-02T22:17:25Z")

</div>

> [@dceejay](#):
>
> If storeFrontEndInputAsState is true then the state should be updated with the new value, so a refresh should then have the latest value.

Hey guys,  
@Steve-Mcl and myself have a very annoying [issue](https://github.com/bartbutenaers/node-red-contrib-ui-contextmenu/issues/9) with our [contextmenu](https://discourse.nodered.org/t/announce-node-red-contrib-ui-contextmenu-first-beta/16211/4) node.  
Summarized:

1. you click on a clickable shape in our new SVG node
2. an **output message** is being send (incl. X/Y coordinates) to our contextmenu node
3. the contextmenu node displays a menu at the location (specified in the input message)
4. you click somewhere else in the dashboard, so the context menu **disappears**
5. you deploy something.
6. now suddenly the last input message is received again, so we display the contextmenu AGAIN....

Does anybody have a tip to avoid the last input message being repeated?  
We have played with the `storeFrontEndInputAsState ` value but that doesn't help 🥴

---

_[View the full topic](https://discourse.nodered.org/t/refresh-ui-node/13921)._
