# Variable selection not updating when between screens in edit mode

**URL:** <https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723>\
**Category:** Issues / Bugs\
**Created:** [September 10, 2023, 10:00pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723 "2023-09-10T22:00:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 10, 2023, 10:00pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/1 "2023-09-10T22:00:23Z")

</div>

I have noticed that sometimes when I to select a variable from a dropdown that it does not exist in the list and I have to do a refresh to get it to show up.

The screenshot below is a prime example which shows variables which are applicable to the previous screen that I was on.

 ![2023-09-10 17 19 12](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/c/4cd5592ca27b09f1889d76bbed04ef1435d572b1.png)

Getting the problem in Edge and Firefox/

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 10, 2023, 10:15pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/2 "2023-09-10T22:15:30Z")

</div>

App variables and stored variables are “global” variables and should show up on ALL screens.

Are you saying that when you initialize a new variable using an **initialize** block on one screen and then go to a different screen, those initialized variables don’t appear in the variables drop-down menu?

For example app variable numLocations doesn’t appear in the menu.

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 10, 2023, 10:27pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/3 "2023-09-10T22:27:46Z")

</div>

Each time I move between screens, some of the variables go missing and I have to refresh the page to see them. If I forget to refresh the page, any changes to variables are not saved so the previews are inaccurate.

Have a look at this [video](https://youtu.be/nkZBPndjm3Y).

Confirmed to happen in Edge, Firefox and Chrome.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 11, 2023, 3:19am UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/4 "2023-09-11T03:19:33Z")

</div>

What should we be looking for? Which specific variables are missing in that video? And are they variables you’ve created using an **initialize** block? You’ve mentioned this issue a few times in this thread without giving enough details for it to be solved.

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 11, 2023, 12:12pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/5 "2023-09-11T12:12:26Z")

</div>

These are the variables that are initialised in this screen.

![2023-09-11 08 01 30 (3)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/4/24fdd384b695868dc0e60831b6f9ef1f39a08882.png)

If you check the video at 0:03 you see these variables that are available - numLocations, listLocations, location, locationsObject are missing.

![2023-09-11 08 01 30](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/3/a3c6bd825ea423423a4bbd4297c53bedc1c5ffbd.png)

which are variables that are defined in the previous screen.

After I do a refresh of the browser, the variables available change to these (0:22 in the video) - now I get the locationsObject, numLocations, listLocations and location.

![2023-09-11 08 01 30 (2)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/4/94aa49481c853fc779fd027c5332e85561ae33c7.png)

I get the same results in all browsers as well as in InPrivate tabs.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [September 11, 2023, 7:30pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/6 "2023-09-11T19:30:15Z")

</div>

Hello @steve_synopsis,  
Thank you for sharing all the details and the video.  
I tried to replicate on another project by updating an existing variable or creating a new one and I always have all the variables in all the pages.

Could you please share the specific project URL in a personal message so we can investigate it further?  
You could copy it from the top of your browser.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/3/7338b79c224fa93607b3b7d3b3c4da39cdbbf658.png)

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 11, 2023, 8:25pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/7 "2023-09-11T20:25:03Z")

</div>

[https://x.thunkable.com/projects/64f20964b0fd8970869632f6/570eef0c-6c45-4747-aa53-d40d443ff778/blocks](https://x.thunkable.com/projects/64f20964b0fd8970869632f6/570eef0c-6c45-4747-aa53-d40d443ff778/blocks)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [September 12, 2023, 7:40pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/8 "2023-09-12T19:40:35Z")

</div>

Hello @steve_synopsis! Thank you for sharing your project.  
Still, I wasn’t able to replicate the issue.  
Maybe is caused by the internet connection you have or the device you are using.  
Is it possible to connect to a different network or device?

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 13, 2023, 1:18am UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/9 "2023-09-13T01:18:12Z")

</div>

Will try a different device and update you.

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [September 13, 2023, 2:08am UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/10 "2023-09-13T02:08:23Z")

</div>

I tried on a different device and on a different network and got the same result.

 ![2023-09-12 21 43 48](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/0/000a9f42d26a97c03dc2d26b0255d22d64e3a9a0.png)

Even tried using a VPN, made no difference.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [December 17, 2023, 9:02pm UTC](https://community.thunkable.com/t/variable-selection-not-updating-when-between-screens-in-edit-mode/2587723/12 "2023-12-17T21:02:53Z")

</div>

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