Change Combo Box label

Can i change the Combo Box label?

I tried this way below but didnt work.

MAP(data.Projetos21, {label: item.Client + " - " + item.Code + ’ - ’ + item.Project , value: item.Project })

My combo box version is updated
image

Note1: This Map function works fine in Dropdown Box but i d like use Combo Box…

Thanks in Advance

Hi, the options in Combo Box only have value, not label. So if you want to format them differently, using:

MAP(data.Projetos21, {value: item.Client + " - " + item.Code + ’ - ’ + item.Project})

1 Like

Thanks for you answer, @Mari

But in this case the variable that I set in the “Input Value” will receive the whole string "item.Client + " - " + item.Code + ’ - ’ + item.Project " and not just item.project, correct ?

image

Hi, yes that’s right :slight_smile:

1 Like

Thanks,

In this case i have to think some way to get just the item.project from that string, although the other items do not have a standard format.

1 Like