How to deselect a radio button option?

Certified Lead Developer

Hello,

We have a use case where user needs to select only one option out of multiple options. It is not a mandatory field. Radio button helps in ensuring only one option is selected. However, it doesn't allow user to deselect the option. We tried to set the value of Radio button as null when user is selecting the same option again. But it didn't work.

Hence, we are currently using multiple checkbox fields to handle this use case.

Is there a better approach to handle this scenario?

 

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    Thank you everyone for your valuable suggestions!

    We were looking for an approach which will not involve multiple components for our use case since we don't want a bulky code which may impact performance.

    However, it seems it is not possible to implement the use case with single component.
    But it was nice to learn about new components in Appian 18.x . Thanks!
Reply
  • 0
    Certified Lead Developer
    Thank you everyone for your valuable suggestions!

    We were looking for an approach which will not involve multiple components for our use case since we don't want a bulky code which may impact performance.

    However, it seems it is not possible to implement the use case with single component.
    But it was nice to learn about new components in Appian 18.x . Thanks!
Children
No Data