Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Default Value on combo box

$
0
0
Default value on combo box: I don't know why that is not working. I have an entity (not static) that holds a list of case types: "Criminal, Family, Appeal, Homicide, etc..."

On a new case, I want the combo box in the case entity bound to this casetype list to show "Criminal" as a default.

Since the casetype attribute in the "Case" entity is an identifier to the casetype entity list, in the preparation, I fetch the proper ID for the "Criminal" casetype value (it's id could be different for each customer). Then, assign the id value to the CaseForm.Record.Case.Type attribute.

I figure this should work, but it doesn't. The casetype combo box still shows the first value on its list.

What am I doing wrong?

Note, I read the forums on other questions about similar issues, but none of them is really about assigning a default value for a brand new case.

Thanks.



Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>