Deselect radio button programmatically

Hello everyone, I have radio button group with two options. Initally, default value is not set. After user clicks on radio, it checks that option. I want to be able to programmatically “deselect” selected radio button. Is it possible to such thing? Thanks in advance. :slight_smile:

Hello @Dzoks ,
All inputs have setValue/getValue API. To deselect, use:

$$("radio").setValue("");

Example: Code Snippet

@annazankevich

It turns out, since I’ve overriden onChange event, I didn’t handle this situation when I pass “” as value, and it kept on last. So I’ve managed at the end to solve this. Thank you for your input.