ember-cli-accounting icon indicating copy to clipboard operation
ember-cli-accounting copied to clipboard

Use of the handle bars helper to set the value of a handle bars input helper

Open jaredgalanis opened this issue 8 years ago • 3 comments

Is something like this possible?

{{ input value=(format-number someModel.someProperty precision=2) }}

jaredgalanis avatar Jan 15 '17 16:01 jaredgalanis

Did you figure this out? trying the accomplish the same thing now.

awb715 avatar Aug 24 '17 00:08 awb715

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..

devinrhode2 avatar May 02 '18 01:05 devinrhode2

Maybe this could be used with ember-text-mask? https://emberobserver.com/addons/ember-text-mask

devinrhode2 avatar May 02 '18 20:05 devinrhode2