- Issue created by @kpaxman
- π§π·Brazil joaopauloc.dev
joaopauloc.dev β made their first commit to this issueβs fork.
- π§π·Brazil joaopauloc.dev
Hey @kpaxman, thanks for the report.
I pushed the fix to the issue.
I fixed the help text missing the {{ }} that needs to be added to the expression.
Regarding your example: Total is {{ :number|0 * 3 }}
This expression is not valid, you are using an expression in the default value that is not supported, you can defined any number as default value.
Like: Total is {{ :number|1 }}
Total is {{ :number|0 }}
Total is {{ :number|100 }}Could please check if the fix works for you?
Thanks
- π¨π¦Canada kpaxman
I may not be able to test the fix right away, but {{ :number|0 * 3 }} valid as a basic calculation, like, multiplying the number (or 0 if not set) by 3?
- π§π·Brazil joaopauloc.dev
After |, the value must be a number, not a calculation expression like 0 * 3.