How to "alter" the output #127
-
Hi, I've got a number field where one can select the size of a disk. unfortunately for me the number needs to be appended by "G" so field 10 should be I am probably missing this in the documentation but is this possible? |
Beta Was this translation helpful? Give feedback.
Answered by
MalfuncEddie
Dec 15, 2023
Replies: 1 comment 2 replies
-
where is the number coming from ? rest api ? fn.fnRestBasic('get','uri','','[.records | {name:.name, disk:(.disk + "G")}]') You can also test this on jqplay.org |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nevermind I found it
name: diskhide
label: Disk
noOutput : true
type: expression
expression: "$(diskhide) + 'G'"
runLocal: true
hide: true