I want to be able to format part of a ternary operator, can I do it?
I have a button that has two states
by using this in the button
Save and enter more details {{inp_index.value ? "for " + inp_index.value.uppercase() : "[Enter Index]"}}
In simple terms I want to
inp_index.value.uppercase().format(bold)
but that doesn’t work
Is it possible to make the inp_index
bold without affecting the “for”?
Community Page
Last updated:
Last updated: