a!radioButton() how do I disable only one of the choiceLabels options upon conditions met?

Certified Senior Developer

Hi team, I been pondering and I would like to disable only the "direct approve" option upon conditions met. Is that possible?

a!localVariables(
local!choiceLabels: {
approve,
reject,
direct approve,
direct reject
},
a!radioButtonField(
                  label: "This application is recommended for",
                  labelPosition: "ABOVE",
                  choiceLabels: local!choiceLabels,
                  choiceValues: local!choiceValues,
                  value: ri!recommendedFor,
                  saveInto: {},
                  disabled: since it allowed only true()/false()?
                  )
                 
                

  Discussion posts and replies are publicly visible