# Question on dropdown box selection mode

**URL:** <https://forum.inductiveautomation.com/t/question-on-dropdown-box-selection-mode/104334>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [March 27, 2025, 9:01pm UTC](https://forum.inductiveautomation.com/t/question-on-dropdown-box-selection-mode/104334 "2025-03-27T21:01:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [March 27, 2025, 9:01pm UTC](https://forum.inductiveautomation.com/t/question-on-dropdown-box-selection-mode/104334/1 "2025-03-27T21:01:34Z")

</div>

Hello all,

I have a simple dropdown with a query providing a two column dataset for the data. If the selection mode is set to `Strict`, every time I open the screen in the Designer it shows the `No Selection Label`: `<Select One>`, even though I set the `No Selection Value` to a valid number in the dataset.

If I change the selection mode to `Lenient`, then I get the correct `Selected Value` and `Label`. Going back and forth between `Strict` and `Lenient` did not produce any changes in the `Selected Value`, it stayed the same number while switching between modes.

**So, what is going to between these two modes?** The docs say that `Strict` requires the value to be in the dataset, which it is.

From the [docs](https://docs.inductiveautomation.com/docs/8.1/appendix/components/vision-components/input/dropdown-list):

- **Strict** : Selected values must always correlate to an option in the list defined by the Data property. If an invalid selection is set (via a binding or a script), the selection will be set to the values defined by the No Selection properties. If the Data property is set to a list that does not contain the current selection, the current selection will be reset to the No Selection values.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 31, 2025, 5:09am UTC](https://forum.inductiveautomation.com/t/question-on-dropdown-box-selection-mode/104334/2 "2025-03-31T05:09:57Z")

</div>

> [@mdemaris](#):
>
> I set the `No Selection Value` to a valid number in the dataset.

Does this mean you've added -1 to the value column of the dataset or you've changed the default -1 to some other number? Also, is column 0 of the dataset an integer datatype?

---

<div class="post-metadata">

**Author:** ![mdemaris](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mdemaris/32/54639_2.png) [@mdemaris](https://forum.inductiveautomation.com/u/mdemaris)\
**Post date:** [March 31, 2025, 4:31pm UTC](https://forum.inductiveautomation.com/t/question-on-dropdown-box-selection-mode/104334/3 "2025-03-31T16:31:09Z")

</div>

Column 0 is indeed an integer, column 1 is string. All integer values are positive, starting with 1.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/e/4e9c43446838868b99de5a231fa00f08fbaf1d5b.png)

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/1/21b548e555bdbdc452e7d2b0e13c6b4523d12ac3.png)
