# Dynamic selections in input block

**URL:** <https://forums.losant.com/t/dynamic-selections-in-input-block/4188>\
**Category:** Help\
**Tags:** dashboard\
**Created:** [November 11, 2021, 5:33pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188 "2021-11-11T17:33:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [November 11, 2021, 5:33pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188/1 "2021-11-11T17:33:35Z")

</div>

Using a “dropdown menu” control in an Input control block.  
Trying to get the option value show highlighted, or, selected based on the value of a context variable.  
Should this not be possible?

It works fine in a “Text Input” control

---

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [November 11, 2021, 6:46pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188/2 "2021-11-11T18:46:51Z")

</div>

Hey Lars,

Do you have a screenshot of what you’re attempting to do? What have you tried that isn’t working?

Any additional information you can provide will be very helpful.

Thank you,  
Heath

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [November 11, 2021, 6:50pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188/3 "2021-11-11T18:50:26Z")

</div>

I just tested this and it’s working for me. See attached.

 ![Screen Shot 2021-11-11 at 1.47.43 PM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/9/9403f0b513cdbef6c66211567dc48b48aacdaa7f.jpeg)

@Lars_Andersson like @Heath said, we really need more information for requests such as these. Screenshots, configuration information, any evidence you can provide of it not working as expected (you can use my screenshot as an example of something we need). We’re happy to look into it if you can provide this.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [November 11, 2021, 7:04pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188/4 "2021-11-11T19:04:26Z")

</div>

Sorry, going back and reading this again, I think I have a better understanding of what you’re trying to do.

Given the value of a context variable - not a value retrieved from a data query - you want to set that as the default value within your select component. See attached.

No, that is not possible now, but I’ll put in a feature request to support this.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/e/e6e324095f3a280dbb76687f6c296789cc1f59e8.jpeg)

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [November 11, 2021, 7:24pm UTC](https://forums.losant.com/t/dynamic-selections-in-input-block/4188/5 "2021-11-11T19:24:48Z")

</div>

The context variable is not tied to an attribute.

When using the Text input control I configured it like this:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/a/ad14bcdc2cadb8294307ffa5b4d871a83ac62d2e.png)

But when using a drop down control I’m not able to enter a ctx variable in the default Value field in either the Static or Dynamic Value mode.
