# Help needed: Dashboard 2 & Vue -\> reset values on refresh

**URL:** <https://discourse.nodered.org/t/help-needed-dashboard-2-vue-reset-values-on-refresh/88393>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, dashboard-2\
**Created:** [30 May 2024 23:59 UTC](https://discourse.nodered.org/t/help-needed-dashboard-2-vue-reset-values-on-refresh/88393 "2024-05-30T23:59:07Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![RedTom](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/redtom/32/88014_2.png) [@RedTom](https://discourse.nodered.org/u/RedTom)\
**Post date:** [1 June 2024 09:30 UTC](https://discourse.nodered.org/t/help-needed-dashboard-2-vue-reset-values-on-refresh/88393/11 "2024-06-01T09:30:16Z")

</div>

Hi,

Sorry I don't want disturb this thread, but I had the same problem and could resolve it with the help of this thread.  
Maybe my button example can help you.

> [@Dashboard-2 use local stored icon](https://discourse.nodered.org/t/dashboard-2-use-local-stored-icon/88324/17):
>
> Hi, @Paul-Reed , thanks after getting a little bit more experience what the browser does on refresh, and how the template works, I changed the template button code. It now keeps the different states after refresh. [Screenshot-button] [{"id":"459d628e7e182030","type":"ui-template","z":"675c06697bd9d35c","group":"574599296b7cf11f","name":"my ui-template Button 1","order":1,"width":"1","height":"1","head":"","format":"\<template\>\n \<div class=\"container\_shutter\"\>\n \<div class=\"tit…

---

_[View the full topic](https://discourse.nodered.org/t/help-needed-dashboard-2-vue-reset-values-on-refresh/88393)._
