Rui::View::TextField - the base textfield view
$textField = $parent->TextField(
value => 'Hello World',
readOnly => 1,
);
$textField->readOnly(0);
A textfield displays a value model, and modifies it
when the user changes the text in the textfield. You can use the
value key in the constructor hash to set a value on the model. You
can set the textfield as read only with the readOnly feature .