Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

select component mapping

I have a select component with three possible values: 'cash', 'card' or 'cheque'. When I am returning a value from a database, how to I map it so that the correct selected value is shown on the select component at run-time, it always seems to show the first value in the list. Here is my current mapping:

Image

paymenttype is the response mapped to the select component.

Terry Gilliver
Posts: 0
Joined: Fri Apr 18, 2014 8:45 pm

select component mapping

I think I have sorted this one. i should have mapped to the Selected item rather than the Value item.

Can you confirm this, it seems to work now.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

select component mapping

Hello Terry,

Thank you for the update, yes, everything seems to be correct.

Return to “Issues”