-
|
I use this great plugin for my calculator-application. The user can give some money input and i want to output the result with correct currency format. I try to build a component with an input-field and read-only html-attribute. It is working but the width of the input field has no fit to content. This is not very nice for designing. It would be nice, if i can use vue-currency-input in a component to output the result in another element like a Working example: That would be nicer: Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can simply use Intl.NumberFormat.prototype.format() for printing currency formatted numbers. |
Beta Was this translation helpful? Give feedback.
You can simply use Intl.NumberFormat.prototype.format() for printing currency formatted numbers.