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

**I'm submitting a feature request** Currency Input #327

Open
johntom opened this issue Sep 24, 2020 · 2 comments
Open

**I'm submitting a feature request** Currency Input #327

johntom opened this issue Sep 24, 2020 · 2 comments

Comments

@johntom
Copy link

johntom commented Sep 24, 2020

I'm submitting a feature request
OS windows 10
Node Version: 12.18.2
npm6.14.5
yarn 1.22.4
cli 1.3.1
systemjs
code https://github.com/bb-harlan/au-input-currency
demo https://bb-harlan.github.io/au-input-currency/

The above repo repersents what I consider a perfect currency input component. The value-converter is only enabled when not editing the input box and does not display in editing mode.

Is there a way to do that with ax-input? I currently do the following
<ux-input placeholder="Indemnity" value.bind="currentItem.Indemnity | currencyFormat:('0,0.00') & debounce:2000 "...

John

@johntom
Copy link
Author

johntom commented Sep 25, 2020

I found https://ilikekillnerds.com/2019/04/masked-inputs-in-aurelia-the-easy-and-reliable-way/ and converted ts to js and using mask. Will attempt to modify ux-input to use mask.
John

@Alexander-Taran
Copy link

@johntom did you succeed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants