# Select dropdowns aren't retaining true / false values

**URL:** <https://support.primero.org/forum/t/select-dropdowns-arent-retaining-true-false-values/466>\
**Category:** CPIMS\
**Tags:** guatemala, v1-7\
**Created:** [August 3, 2021, 2:13pm UTC](https://support.primero.org/forum/t/select-dropdowns-arent-retaining-true-false-values/466 "2021-08-03T14:13:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![irlawrence](https://support.primero.org/forum/user_avatar/support.primero.org/irlawrence/32/8_2.png) [@irlawrence](https://support.primero.org/forum/u/irlawrence)\
**Post date:** [August 3, 2021, 2:13pm UTC](https://support.primero.org/forum/t/select-dropdowns-arent-retaining-true-false-values/466/1 "2021-08-03T14:13:09Z")

</div>

We are noticing an issue where select values are not maintained on editing a case. The value is pulled correctly into the html  
`<select name="child[examino_el_medico]" id="psychologists_interview_child_examino_el_medico" class="chosen-select " data-placeholder="(Select...)" data-field-tags="[]" data-populate="lookup-yes-no" data-value="true" is_disabled="false" data-abide-ignore="" style="display: none;"><option value="" default="" selected="">(Select...)</option><option value="true">Yes</option><option value="false">No</option></select>`  
however the true does not get represented in the dropdown.

---

<div class="post-metadata">

**Author:** ![jpanchalingam](https://support.primero.org/forum/user_avatar/support.primero.org/jpanchalingam/32/73_2.png) [@jpanchalingam](https://support.primero.org/forum/u/jpanchalingam)\
**Post date:** [August 31, 2021, 8:59pm UTC](https://support.primero.org/forum/t/select-dropdowns-arent-retaining-true-false-values/466/2 "2021-08-31T20:59:58Z")

</div>

If this issue persists with the Guatemala colleagues, a permanent solution may be required for this issue that we are seeing in v1.7 once we know why selects have stopped showing the correct values on editing. I will make sure this issue is not carried over in Primero v2 as we are planning to upgrade all environments by Q1 2022 to v2.
