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

[Curreny] Option to hide the currency #1410

Open
andrew-boyd opened this issue Jun 10, 2024 Discussed in #1409 · 0 comments
Open

[Curreny] Option to hide the currency #1410

andrew-boyd opened this issue Jun 10, 2024 Discussed in #1409 · 0 comments
Assignees
Labels
🪄 enhancement New feature or request Pro Pertains to FormKit Pro

Comments

@andrew-boyd
Copy link
Member

Discussed in https://github.com/orgs/formkit/discussions/1409

Originally posted by darthf1 June 10, 2024
I know, it doesn't make sense to remove the currency from the currency input. But I really like the number formatting part of this component. In my project, I have currently have two currency components:

  • One displaying a money value with the currency, using formkits currency component.
  • One displaying a money value without the currency, using vue-currency-input.

It would be great if I can use formkits currency component for both cases.

If I omit the currency prop (or set it to undefined, it defaults to usd. Maybe a false value can be allowed, which hides the currency from the output?

@andrew-boyd andrew-boyd added 🪄 enhancement New feature or request Pro Pertains to FormKit Pro labels Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪄 enhancement New feature or request Pro Pertains to FormKit Pro
Projects
None yet
Development

No branches or pull requests

2 participants