# Finally - a drop down menu with actions and that is easy to use

**URL:** <https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080>\
**Category:** General\
**Tags:** ai, components\
**Created:** [February 15, 2025, 7:18pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080 "2025-02-15T19:18:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [February 15, 2025, 7:18pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/1 "2025-02-15T19:18:45Z")

</div>

SSIA:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/a/8a4cfd02aae23948a100183061179c957f6b9550.png)

Menu Item 1 fires Action Item 1 …

I am replacing buttons which look fine on a desktop with a drop down on mobile version but needed an action (like a button push) to fire when selected…ouilla - Glide AI components to the rescue!

---

<div class="post-metadata">

**Author:** ![MaximeBaker](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/maximebaker/32/80877_2.png) [@MaximeBaker](https://community.glideapps.com/u/MaximeBaker)\
**Post date:** [February 15, 2025, 7:38pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/2 "2025-02-15T19:38:37Z")

</div>

You should share this in [Glide Ai Component Library](https://aicomponents.glide.page/dl/a400f7)

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 16, 2025, 2:53am UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/3 "2025-02-16T02:53:30Z")

</div>

Yep! AI component does a decent job with this use case.

> [@robot \[TUTORIAL\] Build Beastly Choice Components with Glide's AI Component](https://community.glideapps.com/t/tutorial-build-beastly-choice-components-with-glides-ai-component/78321):
>
> wave Hey Fellow Gliders! The AI Component in Glide is an incredibly powerful tool when it comes to developing functionality previously unimaginable. In this tutorial, I demonstrate how to use the AI Component to create a choice component that not only writes the selected value to a column of your choosing (like a typical choice component would do), but additionally trigger actions when any of those choice items are selected! Watch the tutorial and leave a comment with additional ideas or det…

---

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [February 16, 2025, 3:01pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/4 "2025-02-16T15:01:02Z")

</div>

So…I searched for this before I started since I knew I had seen it before and my prompting skills are…meh. And I guess my search skills too!

But this time - got it right!

---

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [February 16, 2025, 3:10pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/5 "2025-02-16T15:10:07Z")

</div>

Here are the prompts: putting all the coaching up on prompt usage to work.

**First Prompt:**  
Create a dropdown choice selector with 4 menu items named: Territory List, Seller Coverage, Joint Accounts, Joint Accounts by Type

**Add Actions**  
I then added 4 actions called Action 1, Action 2, Action3, Action 4.

**Second Prompt:**  
When menu item 1 selected, fire action item 1. When menu item 2 selected, fire action item 2. When menu item 3 selected, fire action item 3. When menu item 4 selected, fire action item 4.

Finally I changed the ‘Title’ (it was what the choice selector showed on first use)

**Third Prompt:**  
Replace title with “Select a Coverage Report”

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/b/7babe29d6eba102d9c935feb753b27861ee4d4a6.png)

Tada!

---

<div class="post-metadata">

**Author:** ![MattLB](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mattlb/32/41284_2.png) [@MattLB](https://community.glideapps.com/u/MattLB)\
**Post date:** [February 16, 2025, 3:18pm UTC](https://community.glideapps.com/t/finally-a-drop-down-menu-with-actions-and-that-is-easy-to-use/80080/6 "2025-02-16T15:18:41Z")

</div>

BTW…this was all driven from @Darren_Murphy tip:

@media only screen and (min-width: 640px) { .mobile { display: none; } } @media only screen and (max-width: 640px) { .desktop { display: none; } }

Buttons look good on desktop screens but take up way too much room on a mobile display. I needed something to “click and go” so a choice was the idea but of course their are no actions plus I had to create a ‘table’ for choice items and place to store a ‘result’ in the User table which was just messy.

Everything is in containers so it was easy to have the existing container be ‘desktop’ and a new container be ‘mobile’. Glide Component AI to the rescue.

Thanks @Mark and @david
