cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Clear the radio button option

Shrikant
3-Newcomer

Clear the radio button option

How can I clear the radio button selection by clicking on the currently selected option in radio button ?

Please check the attached image file for reference

3 REPLIES 3

Hi @Shrikant ...

I don't think it's possible. I couldn't empty it with the on-board methods and services.

I've also tried using an Expression Widget to overwrite the state and set an Output forces a non-selected state for the Radio Button Widget - but haven't really figured it out yet.

I'd say it's a limitation to the Widget, that once it's set it can't be unset.

Depending on the use case you could add an additional state (selected by default) e.g. "No Selection" - and if this is selected, it will not change / trigger dependent actions...

 

Seems like there already exists an enhancement for introducing this functionality.

https://www.ptc.com/en/support/article?n=CS260155

 

I'll add a reference to this thread to the request as well...

Shrikant
3-Newcomer
(To:mneumann)

Ok Thanks

Announcements


Top Tags