Morning Teodor, the “bug in the ointment” is the word “for” in the ternary operator, I don’t want to embolden that word.
There are other ways that I could approach this (rewording for instance or multiple ternary operators) but my question is, can other types of formatting, besides uppercase() etc, be applied to parts within the ternary operator?
EDIT
Just to clarify, you can’t enter <b> or <span> within the ternary operator, or can you? I can’t get it to work.
dmx-html="inp_index.value ? 'Save and enter more details for <b>' + inp_index.value.uppercase() + '</b>' : 'Save and enter more details for [Enter Index]'"
EDIT: or
dmx-html="'Save and enter more details' + (inp_index.value ? 'for <b>' + inp_index.value.uppercase() + '</b>' : '[Enter Index]')"
Just a note from my side, not saying it will work in your case, but, sometimes when I have encountered issues like this I have found that using <b> does not work, i change it to <b> so just using the ASCII for “less than” and “greater than” gets around the issue.