Open samsmithnz opened 1 week ago
So you'd have to create a method within the component that the vue template can run against. If you were going to do this I'd add a globally registered component and import it possibly.
I'm wondering though how this quantity became a reality? The number is usually user entered, something shouldn't be entering it unless it's trimmed?
It was a calculation when I pressed the 'fix production' button. It's likely a downstream issue from where I removed all the GetFixed() functions from the code and moved them to the HTML.
This has unfortunately has created #102, which needs fixing pronto :-/
Technically correct, but ugly. Should show with 2-3 decimal places:
@Maelstromeous - technical/Vue question: How do you format inputs? If I wrap the input with
formatNumber
, Vue doesn't like itIf I try to wrap the input further down in JS, it doesn't seem to apply.