Multidropdown binding text AND value

I have a multidropdown which choices source is a call to an external API.
The API returns an ID and a label for each item.
Currently I am displaying the label for each item so the user can select some text rather than a random ID.
However, when saving to my database the selections, I want to store the IDs rather than the labels.
How do I do that since I can only bind either the label or the ID to the multidropdown?

This topic was automatically closed after 70 days. New replies are no longer allowed.