You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to show amount with currency in input number

Hi

i have input number for amount, i want it show like $1,500.00 when user enter 1500. i tried converter like below but its not working or i dont put it right.

<oj-input-number
label-hint="Amount"
value="{{ $variables.amount }}"
converter='{"style":"currency","currency":"USD","currencyDisplay":"symbol","minimumFractionDigits":2,"maximumFractionDigits":2}'>
</oj-input-number>

please help

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!