Use of the handle bars helper to set the value of a handle bars input helper
Opened this issue · 3 comments
jaredgalanis commented
Is something like this possible?
{{ input value=(format-number someModel.someProperty precision=2) }}
awb715 commented
Did you figure this out? trying the accomplish the same thing now.
devinrhode2 commented
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 commented
Maybe this could be used with ember-text-mask? https://emberobserver.com/addons/ember-text-mask