Skip to main content
Inspiring
Oct 6, 2022 4:53 PM UTC
Solved

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

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?

    csteward
    cstewardAnswer
    Brainy
    Oct 6, 2022 5:03 PM UTC

    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
    Oct 6, 2022 4:54 PM UTC

    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
    Oct 6, 2022 5:01 PM UTC

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

    csteward
    cstewardAnswer
    Brainy
    Oct 6, 2022 5:03 PM UTC

    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"
          )
        )
      }
    )

    Inspiring
    Oct 6, 2022 5:11 PM UTC

    Thanks Chris.

    Is there a list of icons amiable for displaying?