Vaadin Radio Button Group deselect not working

Hello guys. I have a problem with radio button group.
I can’t clear radio button selected item. I tried to deselect radio group using setValue(null) and clear(), but it still selected.
Please help me out how to deselect radio button group.
Thanks in advanced.

Sounds like a bug. Please, please open an issue about it [here]
(https://github.com/vaadin/vaadin-radio-button-flow/issues). Describe your problem there and add a link to this discussion.

Here’s a workaround meanwhile:

radioButtonGroup.clear();
radioButtonGroup.getElement().getChildren()
    .filter(element -> element.hasProperty("checked"))
    .forEach(checked -> checked.removeProperty("checked"));