lib/YuiRestClient/Widget/Textbox.pm

NAME

YuiRestClient::Widget::Textbox - handle text boxes

COPYRIGHT

Copyright © 2020 SUSE LLC

SPDX-License-Identifier: FSFAP

AUTHORS

QE YaST <qa-sle-yast@suse.de>

SYNOPSIS

return $self->{tb_full_name}->set($full_name);

$self->{tb_keyboard_test}->value();

DESCRIPTION

Overview

Class to represent a text box. It can be YInputField.

    {
       "class": "YInputField",
       "debug_label": "label_test",
       "hstretch": true,
       "id": "test",
       "input_max_length": 256,
       "label": "label_test",
       "password_mode": false,
       "valid_chars": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.",
       "value": ""
    }

Class and object methods

set($value) - sets "value" property to $value.

value() - returns the current string stored in the "value" property.