Replies: 1 comment
-
A workaround is to wrap the value in {fmt(Number(inputs.my_input_name), 'usd0')} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
According to the docs, format function fmt accepts expression like
I have tried to use
inputs
as expression and it didn't work. Example:outputs unformatted value from
inputs.my_input_name
. In this exampleinputs.my_input_name
was a slider:What problem would this solve?
That would allow to design pages with formatted values. One example: slider current value is not formatted (min/max are), even if add
fmt
property. One could output current slide value in the page text.How should it work?
Format values from
inputs
.Beta Was this translation helpful? Give feedback.
All reactions