# 🆕 Choice component's default value now supports value from the chosen column

**URL:** <https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932>\
**Category:** Ask for Help\
**Created:** [August 29, 2020, 10:05am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932 "2020-08-29T10:05:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 29, 2020, 10:05am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/1 "2020-08-29T10:05:21Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/2/2fd30a18ad4d72e8b90b03a6b99d71cc795289ff.png)

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [August 29, 2020, 12:14pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/2 "2020-08-29T12:14:38Z")

</div>

Yes. But it’s using “values” rather than “display as” so is not really functional when using row ids 🙁

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [August 29, 2020, 4:31pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/3 "2020-08-29T16:31:13Z")

</div>

Value is what needs to ultimately be written to the sheet and thus what needs to be set as the default value. Yeah, a list of rowIDs are messy to look at when setting the default but it should be relatively easy to cross reference and look up the correct value. I would imagine you would only be setting the default once in most cases. Also consider one reason for using RowIDs is so a Display As value can be renamed (while the ID remains the same) without breaking any existing database relations. If glide only let you choose the Display As side for the default, and you rename something, then your default value is broken, even though the underlying RowID never changed.

---

<div class="post-metadata">

**Author:** ![V88](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/v88/32/90054_2.png) [@V88](https://community.glideapps.com/u/V88)\
**Post date:** [August 30, 2020, 7:09pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/4 "2020-08-30T19:09:08Z")

</div>

Sure. I (reluctantly) guess so … :-/

---

<div class="post-metadata">

**Author:** ![AyS\_0908](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ays_0908/32/27349_2.png) [@AyS\_0908](https://community.glideapps.com/u/AyS_0908)\
**Post date:** [September 14, 2020, 12:17pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/5 "2020-09-14T12:17:58Z")

</div>

Hi, do you confirm that it only works into “Forms”? (cf. picture on a non-Form layout)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/2X/e/e2b48a11575e32d2616153e2136366a926f16214.png)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 14, 2020, 12:53pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/6 "2020-09-14T12:53:14Z")

</div>

It seems so.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 6:56am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/7 "2020-12-29T06:56:48Z")

</div>

@ThinhDinh i have been trying to find the default value option, but cant see it for my choice components

---

<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:** [December 29, 2020, 7:29am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/8 "2020-12-29T07:29:27Z")

</div>

This only works in a form/edit screen.

---

<div class="post-metadata">

**Author:** ![Rosewebstudio](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/rosewebstudio/32/12261_2.png) [@Rosewebstudio](https://community.glideapps.com/u/Rosewebstudio)\
**Post date:** [December 29, 2020, 7:34am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/9 "2020-12-29T07:34:54Z")

</div>

> [@new Default values in forms and add screens!](https://community.glideapps.com/t/default-values-in-forms-and-add-screens/13954):
>
> I had to take a break from my day to announce that forms and add screen components can now have default values. In this case, I default a choice in a form in my expenses app: The default value is a computed column–it changes based on who owes whom!

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 7:37am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/10 "2020-12-29T07:37:55Z")

</div>

Hi Rob ,  
Any work around this? I am using the choice component to show different screen based on selection, and i would like to have it set to a default one.

---

<div class="post-metadata">

**Author:** ![George\_Lewis1](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/george_lewis1/32/5517_2.png) [@George\_Lewis1](https://community.glideapps.com/u/George_Lewis1)\
**Post date:** [December 29, 2020, 8:21am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/11 "2020-12-29T08:21:08Z")

</div>

Hey, you can use two columns

One IF column for the visibility rules; One for the users choice

IF column, if ‘choice column’ is blank show (whatever default you want), else show users choice

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 29, 2020, 8:27am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/12 "2020-12-29T08:27:06Z")

</div>

If you’re storing that to a user-specific column then I believe you can use a set column action somewhere in your flow.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 8:43am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/13 "2020-12-29T08:43:05Z")

</div>

yes @ThinhDinh I am storing it to a User specific column, can you explain how i can use set column action, as this has to show up soon as screen tab loads, there is no user interaction for me to set a column

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 29, 2020, 9:15am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/14 "2020-12-29T09:15:31Z")

</div>

Is it a details screen from a list of items? I guess it’s not.

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 9:47am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/15 "2020-12-29T09:47:02Z")

</div>

yes it is, its part of a in-line list details screen

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 29, 2020, 10:06am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/16 "2020-12-29T10:06:08Z")

</div>

So you can do a set column action on the open of the inline list item I guess?

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 10:19am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/18 "2020-12-29T10:19:03Z")

</div>

Awesome fixed it, this works great now!

---

<div class="post-metadata">

**Author:** ![Amal](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/amal/32/15421_2.png) [@Amal](https://community.glideapps.com/u/Amal)\
**Post date:** [December 29, 2020, 10:53am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/19 "2020-12-29T10:53:39Z")

</div>

so it works fine for my in-line list, i was able to set the column. What if i have it directly on tab view

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [December 29, 2020, 11:00am UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/20 "2020-12-29T11:00:30Z")

</div>

Then you will have to find another way to do it, an action that any users will have to do when they use the app.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [December 29, 2020, 2:45pm UTC](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932/21 "2020-12-29T14:45:00Z")

</div>

I usually set my default components to show up when no choice has been made, OR if the first choice has been made. So it at least shows something to the user for the very first time. Once they have made a selection, it’s set in the user specific column forever.

This is not a great example, but here the bio info is shown by default even though no choice selection had been made yet.

 ![Screenshot_20201229-084304](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/c/0c05d9f04cea24a74c316d45a32363d16b353bd9.png)

[Next page](https://community.glideapps.com/t/choice-components-default-value-now-supports-value-from-the-chosen-column/14932.md?page=2)
