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:
paymenttype is the response mapped to the select component.