# Comments Don't Show Up in "Extra variables" Box?

**URL:** <https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593>\
**Category:** Get Help\
**Tags:** template, awx\
**Created:** [September 30, 2024, 4:30pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593 "2024-09-30T16:30:35Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [September 30, 2024, 4:30pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/1 "2024-09-30T16:30:35Z")

</div>

Hi,

We just upgraded from AWX 21.x to the latest 24.6.1 version. We deploy it as containers from the devel branch.

With that out of the way, we use comments in the “Extra variables” box to help users understand how to run the template/playbook and what other variables/options are available to them. We have people using AWX who are not developers, so these comments were a quick way for us to guide them on how to use the templates.

In this new version, the “Extra variables” box seems to not allow any comments in them at all. Is this potentially a bug? Or am I missing something, and I have to enable a setting somewhere?

Any help would be greatly appreciated.

Thank you,  
Donny

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [October 1, 2024, 2:36pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/2 "2024-10-01T14:36:54Z")

</div>

> [@Donny\_Ta](#):
>
> the “Extra variables” box

Hi, we can use any comments in the variables fields by default. Could you please share your screenshots?

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 1, 2024, 3:00pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/3 "2024-10-01T15:00:48Z")

</div>

Yeah sure.

So here is a screenshot of me adding a comment into the Extra variables box

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/6/6f93319399d2d72b26940182bde3b70ff956e586.png)

Then after I click save, the comment is gone

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/7/79cd4746c1febaa6c4d27009b9a2a8216ceee3ea.png)

Then when I launch the job

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/0/077c81b70dc263979980eef8c7f770fbe669a639.png)

There’s nothing there until I toggle between YAML and JSON

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/9/920891c35f0cce58a1a5d00cccdfec89db35c6ed.png)

But you can see that the comment that I left previously is not there

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [October 1, 2024, 3:09pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/4 "2024-10-01T15:09:29Z")

</div>

@Donny_Ta  
Thanks, you are using tech preview version of the AWX UI, try using default UI instead.  
You can toggle the UI at the Overview page:

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/6/6564acff5106563f00dfec9a099fe86bf6a467b9.png)

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [October 1, 2024, 3:11pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/5 "2024-10-01T15:11:49Z")

</div>

@TheRealHaoLiu  
Not sure if this is solved in the upstream, but I want to let you know this seems a bug or unimplemented feature of the new AWX UI 🤔

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 1, 2024, 3:16pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/6 "2024-10-01T15:16:10Z")

</div>

Here’s the overview page. Not seeing an option to toggle the UI

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/4/44e081174a62637bf93587aafab54c798aa612ac.png)

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [October 1, 2024, 3:28pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/7 "2024-10-01T15:28:55Z")

</div>

Ah sorry I missed this:

> [@Donny\_Ta](#):
>
> We deploy it as containers from the devel branch.

I don’t know if there is an option to revert to the legacy UI, but if there isn’t, use a tagged version instead of the devel branch. The devel branch is under development and is not actual 24.6.1. If you use the old UI, the comments will be visible.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/7/73e3539f2fd84a999d0f437a143840272a7849c0.png)  
 ![image](https://us1.discourse-cdn.com/ansible/original/2X/0/0be1217e997bb30aebccd0dd5ac3a083e0f10808.png)

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 1, 2024, 3:36pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/8 "2024-10-01T15:36:37Z")

</div>

Ahhhh okay. Let me try the 24.6.1 tagged branch

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 1, 2024, 5:00pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/9 "2024-10-01T17:00:45Z")

</div>

What would be the cleanest way to switch branches? I don’t want to have to re-import everything from backup jsons like before. Do I just need to run the make docker-compose command after I switch branches?

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 1, 2024, 6:20pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/10 "2024-10-01T18:20:49Z")

</div>

So what I ended up doing was:

1. Switch to the tagged branch
2. Run `make docker-compose`
3. Attempt to recreate the UI using `docker exec tools_awx_1 make clean-ui ui-devel`

But I’m hitting an error in step 3 saying that: Attempted import error: ‘useRouteMatch’ is not exported from ‘react-router-dom’ (imported as ‘useRouteMatch’).

Googling this, it looks to be a react-router-dom v6 issue. I don’t know the first thing about how this is built… can I get help here please?

Thank you

---

<div class="post-metadata">

**Author:** ![kurokobo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/kurokobo/32/182_2.png) [@kurokobo](https://forum.ansible.com/u/kurokobo)\
**Post date:** [October 2, 2024, 1:15pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/11 "2024-10-02T13:15:08Z")

</div>

Hmm, I don’t have any experience building images for Docker-based deployments. ☹  
All the experience I have is with images for Kubernetes-based deployments.

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 2, 2024, 2:25pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/12 "2024-10-02T14:25:56Z")

</div>

Ahh man, okay. No worries!

I think, in doing research on it… It looks like a react package version issue (this react-router-dom). The syntax it’s complaining about is in respect to v6 but I see inside the container and in the package.json that we are installing v5.3.3 so something weird is happening

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 3, 2024, 12:41am UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/13 "2024-10-03T00:41:54Z")

</div>

So I was able to fix my react issue by deleting a node\_modules folder inside of the ui/src/ directory. This folder included the react-router-dom package pinned to version 6.

Anyways, I have it on 24…6.2 containerized build now but still seeing quite a bit of UI issues although my initial issue seems to kind of be resolved.

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/d/d1100a9f081ed0f6e0ed411b2cac71eb425e37d2.png)

I can’t edit any templates. They all show an error

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/3/3390cb1cc4c153f0ceafa9c57d5ae7c3977d8d08.png)

I can’t create a new ‘Credentials’. That also fails

 ![image](https://us1.discourse-cdn.com/ansible/original/2X/6/69d1f965b57fb9d7de11fcc29d4037b8de0809da.png)

Everything else I think I can edit? I think I might roll back to a previous version to see if these bugs still exist there

---

<div class="post-metadata">

**Author:** ![Donny\_Ta](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/donny_ta/32/4921_2.png) [@Donny\_Ta](https://forum.ansible.com/u/Donny_Ta)\
**Post date:** [October 3, 2024, 3:42pm UTC](https://forum.ansible.com/t/comments-dont-show-up-in-extra-variables-box/9593/14 "2024-10-03T15:42:16Z")

</div>

Okay, so I did a bunch of digging… When I switched from the devel branch to the tags/24.6.1, the crazy thing is that the inner ui/src folder did NOT switch branches. It looked to be stuck in its own repo actually and that’s why it had its own node\_modules folder that was totally different from the node\_modules that the ui/ had!! Crazy stuff!!

And to fix the UI issues mentioned just above, I destroyed my docker volume and started fresh. That seems to fix that up!
