Sending Currency & Amount Together to HTML Component

Hey,
You can send an object to HTML component using the post message.
For example:

let obj = {amount: $w('#input1').value, currency: $w('#input2').value};
$w('#html1').postMessage(obj);

Click here to learn more about Messaging.

Best,
Tal.