Default values disappear?

I was exploring kustom forum and came up on someone’s thread for default color and wanted to try that and he posted kustom list format for it, it tried it on klwp list but somehow default values of #FFFFFF disappears when you go to set it, it’s like list is not showing it as option even though you see it in list formula
I added list formula below but it’s same as thread, though I didn’t see it any other values would disappear as well.

6750A4##Primary, FFFFFF##OnPrim, CBC0E6##PrimCont, 201933##OnPrCont, 625B71##Second, FFFFFF##OnSec, DCD8E6##SecCont, 2C2933##OnScCont, 7D5260##Terti, FFFFFF##OnTert, E6CDD5##TerCont, 332227##OnTrCont, B3261E##Error, FFFFFF##OnError, E6ACA9##ErrCont, 330B09##OnErCont, fcfcfc##BG, 323233##OnBG, fcfcfc##Surface, 323233##OnSurf, e0dee6##SurfVar, 5e5c66##OnSrVar, 8e8999##Outline

1 Like

Interesting, I never ended up using the lists in that way, but I can see what you mean now, I guess it might be a bug. When I reference it using $gv(clrfld/lclrl, 1)$ it shows up. clrfld is a folder and lcrl is my list and FFFFFF is the second value

Hi there,

As far as I know, in the $gv(variable_name, default_value)$ function, the second argument/parameter can be:

  • The default value, if the variable is a Text
  • The index number (0, 1, …), if the variable is a List

Here is my example:

Global Variable default value

I hope this would help.
:smiling_face::+1: