Conditional value input text

How i can convert this

image

image

i got Gender value so if = F then it should display Female

if = M then Male

i got F and M in db (existing db not from scratch)

how i can convert value with js?

thank you

{{table1.selectedRow.sexo ==''F''?"Female":"Male"}}

More info on Conditionary Ternary Operator here:

1 Like

thank you