YuiRestClient::Widget::ItemSelector - handle item selectors
Copyright 2021 SUSE LLC
SPDX-License-Identifier: FSFAP
QE Yam <qe-yam at suse de>
$self->{rb_skip_registration}->select(); $self->{cb_chunk_size}->select($chunk_size);
return $self->{sel_role}->selected_items();
This class provides methods to select items like radio buttons or dropdown lists and to read out the current selection.
select($item) - selects an item
If the class object is a radio button then $item can be omitted. If the object is a multi-selector object you need to provide $item to specify what selection to make.
selected_items() - get a list of selected items
This method returns an array with all the (sanitized) labels of items that are selected in the current class object.