[Feature Request] Custom currency display
See original GitHub issueHi,
We are using this field in our application to display currencies but also non-currency numerics, for consistency.
We were using 1.22.6
but were unable to turn off groupings when the field is not focused, but noticed #170 was raised a few months ago to enable that, however I’ve updated to 2.0.0-rc.4
and now I’m finding it impossible to turn off the currency symbol when not focused as the currency option is now a required property.
It would be really really helpful if the distractionFree
settings could also (optionally) be applied at all times, not just when the field is in focus. I need to be able to turn off the groupings in some fields, and the currency symbol in others independently of the field’s focus state.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Change in Currency - Feature Requests
Great suggestion about adding new currencies to Formatting. I'll submit your feature request so the team can review :smiley:.
Read more >Feature request: New Currency Symbol for Sierra Leone
Hello. On July 1, Sierra Leone redenominated their currency and created a new currency symbol. Old Leones are denoted SLL and new Leones...
Read more >Customize currency display formats - HCL Product Documentation
A monetary display format string specifies a format for the manipulation of internal DECIMAL, FLOAT, and MONEY values as monetary literal strings.
Read more >Dynamic currency symbols - Google Cloud Community
It'd be nice to enter a formula to set the currency symbol of a ... Just checking if any further update on this...
Read more >Allow custom format for goals (limited currency options)
Rather than request own own currency ($ NZD) be added (and I'm sure there are lots of other currencies that could be individually...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, thanks for your feedback. I have thought a little about it (especially regarding https://github.com/dm4t2/vue-currency-input/issues/177#issuecomment-736115070).
I think it makes sense to introduce a new option
hideCurrencySymbol
for this, but please note that thecurrency
option will still be required for proper formatting.The new option
currencyDisplay
is now available in 2.0.0-rc.5 🎉See also in the docs: https://vue-currency-input-next.netlify.app/config.html#currencydisplay https://vue-currency-input-next.netlify.app/playground.html