Skip to main content
October 6, 2022
Solved

Possible to make a checkboxField check mark bold for disabled property?

  • October 6, 2022
  • 6 replies
  • 0 views

Having a hard time seeing that the checkbox is marked in the control when it's disabled.

Is there a way to increase the visibility on the check mark?

    Best answer by csteward

    To expand on the above, you would show a!richTextDisplayField() with a!richTextIcon() instead, when the a!checkboxField() would otherwise be disabled, such as:

    a!localVariables(
      local!disabled: true,
      {
        a!checkboxField(
          label: "Possible Duplicate",
          choiceLabels: {""},
          choiceValues: {true},
          value: true,
          showWhen: not(local!disabled)
        ),
        a!richTextDisplayField(
          label: "Possible Duplicate",
          showWhen: local!disabled,
          value: a!richTextIcon(
            icon: "check-square-o",
            size: "MEDIUM"
          )
        )
      }
    )

    6 replies

    mikes0011
    Brainy
    October 6, 2022

    I kinda know what you mean, but unfortunately this would need to be escalated directly to Appian as a product enhancement / feature request.  Would you be able to open a support case with Appian?

    The Expression Guru
    Participating Frequently
    October 6, 2022

    As mike said it is not possible but we can play with icons "check-square" this can help

    csteward
    cstewardAnswer
    October 6, 2022

    To expand on the above, you would show a!richTextDisplayField() with a!richTextIcon() instead, when the a!checkboxField() would otherwise be disabled, such as:

    a!localVariables(
      local!disabled: true,
      {
        a!checkboxField(
          label: "Possible Duplicate",
          choiceLabels: {""},
          choiceValues: {true},
          value: true,
          showWhen: not(local!disabled)
        ),
        a!richTextDisplayField(
          label: "Possible Duplicate",
          showWhen: local!disabled,
          value: a!richTextIcon(
            icon: "check-square-o",
            size: "MEDIUM"
          )
        )
      }
    )

    October 6, 2022

    Thanks Chris.

    Is there a list of icons amiable for displaying?