lib/YuiRestClient/Widget/RadioButton.pm

NAME

YuiRestClient::Widget::RadioButton - Handle radio buttons

COPYRIGHT

Copyright 2020 SUSE LLC

SPDX-License-Identifier: FSFAP

AUTHORS

QE Yam <qe-yam at suse de>

SYNOPSIS

$self->{rb_skip_registration}->select();

$self->{$rb_name}->is_selected();

DESCRIPTION

Overview

Class representing a RadioButton in the UI. It can be YRadioButton.

{
  "class": "YRadioButton",
  "debug_label": "Manually",
  "id": "manual",
  "label": "&Manually",
  "notify": true,
  "value": false
}

Class and object methods

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