YuiRestClient::Widget::RadioButton - Handle radio buttons
Copyright 2020 SUSE LLC
SPDX-License-Identifier: FSFAP
QE Yam <qe-yam at suse de>
$self->{rb_skip_registration}->select();
$self->{$rb_name}->is_selected();
Class representing a RadioButton in the UI. It can be YRadioButton.
{
"class": "YRadioButton",
"debug_label": "Manually",
"id": "manual",
"label": "&Manually",
"notify": true,
"value": false
}
select() - selects the radio button
This will set the "value" property to true and deselect all other radio buttons of the current group.
is_selected() - returns the "value" property of the radio button