How to set a specific value as default value for choice?

I have a choice component and I want it to have 1 as a default value selected.
In the setting I want, 1 is already selected and if I add row I want 1 is added in that column.
Is there any fuction in Glide for this?

Thanks!

Hola @YOUNGMIN

On the setting panel of the choice component you will find the default value option.

I’m not close to a computer at the moment. If anybody else doesn’t provide a screenshot of it, I will later today.

Hi Santiago!

Seems like it only exists in form setting. Can’t understand why it is designed this way. Glide is really a useful tool but I can’t understand why they don’t allow a flexible form or screen.

They do have reasons to do it that way, in my opinion.

What if you use a default value for a choice component outside of a form environment, and point to a wrong column, mistakenly delete all the data of that column and overwrite the default value to it? I don’t think many users will be happy with that.

Custom form is a workaround, so you have to use set columns to set default values.

2 Likes

Depending on what you’re doing, you can use an if then else column.

If x cell is empty then x value.