0

Is there any way in which we can have a lightning-input field behave like an input field with type=number and formatter=currency but without having the currency symbol in front of the amount? One way is to use lightning-input with type=text and work around with the string that is inputted. Is there an easier way to approach this?

  • 1
    Why you using formatter currency if you don't want currency symbol . Use different formatter according to document - String value with the formatter to be used for number input. Valid values include decimal, percent, percent-fixed, and currency – Sahil Malhotra Apr 11 at 20:02

Your Answer

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

Browse other questions tagged or ask your own question.