How to add a space between Currency and Value LIKE CAD 0.00 instead of CAD0.00 in lightning when 'ui:inputCurrency' is used


To override the default currency format make use of "format" attribute to change as per your need.


   <ui:inputCurrency aura:id="amount" label="Amount" class="field" value="50" format="CAD #.##"/>
| improve this answer | |
  • If we use format we have to hard-code the currency value. Want to fetch the currency from user page and display. Is there any other way? – sowmya Mar 2 '18 at 9:38
  • I cant get you clearly it can also be work by setting dynamic values,can you edit your question with code what you have tried so far. – vignesh Mar 2 '18 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.