Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add prefix/suffix for vue 3 support #177

Closed
JakuninOleg opened this issue Nov 10, 2020 · 2 comments
Closed

Add prefix/suffix for vue 3 support #177

JakuninOleg opened this issue Nov 10, 2020 · 2 comments
Labels
wontfix This will not be worked on

Comments

@JakuninOleg
Copy link

Would be really cool. Waiting for this feature. Also documentaion is not very clear how we should pass currency props

@dm4t2
Copy link
Owner

dm4t2 commented Nov 30, 2020

With the upcoming major release, Vue Currency Input will no longer support custom prefixes or suffixes. Only currency ISO codes will be supported.

Why? It will be aligned back to its original purpose: the input of currency formatted numbers based on the ECMAScript Internationalization API. Currently, it just feels wrong to allow the component to behave like a pure number input by either omitting the display of the currency symbol (currency="null") or inserting custom ones (currency="{suffix: ' %'}").

@dm4t2 dm4t2 closed this as completed Nov 30, 2020
@dm4t2 dm4t2 added the wontfix This will not be worked on label Nov 30, 2020
@Luigidefra
Copy link

in my opinion this is a great lack of flexibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants