ember-cli-accounting
ember-cli-accounting copied to clipboard
Use of the handle bars helper to set the value of a handle bars input helper
Is something like this possible?
{{ input value=(format-number someModel.someProperty precision=2) }}
Did you figure this out? trying the accomplish the same thing now.
I'm also trying to use this to mask inputs, as it seems to be the best currency/money format library out there for ember. My team is already using ember-cli-accounting, which has some great currency formatting helpers, but I need to use these for input masking. I need to have the user edit the formatted output from this addons format-number helper, but have the value bound to the property get un-formatted..
Maybe this could be used with ember-text-mask? https://emberobserver.com/addons/ember-text-mask