27
Views
1
Comments
OnInitialize dropdown populate gives blank text but count is correct
Application Type
Reactive

Hi All,

Context:
I'm creating a dropdown using a list generated from a string(string of project names - "A,B,C") split using String_Split() from Text xlf. I've added the above logic in a client action and called the action through OnIntialize of my screen.

What I'm getting:
As you can see in below image that dropdown shows blank text. The names of project is below the dropdown (I've added the same list variable on screen to show the project names)

Options Text gives nothing as i'm populating the dropdown using OnInitialize.

Screen Action:


https://personal-f9fdy1pq.outsystemscloud.com/TestFeatures/API


Thanks & Regards,

Aman Devrath

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi @Aman Devrath ,

the suggestions are only that, suggestions, and in the dropdown, when there is only one text attribute in your list, it will choose that as the 'Options Value' property automatic, and be at a loss what you could possibly want as 'Options Text' property.

But you don't have to stick to the suggestions, you can just fill in the 'Options Text' property yourself, either by typing it or copying it from the 'Options Value' property below it.

I think it is a bug / awkwardness that you can't just double click it to open the expression editor for this.  And it is also a bug / awkwardness that it doesn't generate the single attribute as a suggestion for 'Options Text' if it is already selected as 'Options Value'.

Dorine

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.