Skip to content

rq.UiInputOpts ​

since 2.29.0

What rq.uikit.input takes.

Fields ​

NameTypeDescription
w (optional)integerThe box's width in pixels (not "fill"). Default 240.
max (optional)integerThe longest the text may be, in bytes, 1 to 255. Default 40.
label (optional)stringText left of the box, in the theme's label font. Also its label in rqmod-ctl ui.
placeholder (optional)stringDim text in the box while the text is empty and it does not type.
focus (optional)booleanTypes from the update the field first shows (again after it was not drawn for an update), as a name prompt does.
disabled (optional)booleanGreyed: no typing. A field that types stops, with its old text back.

Used by ​

rq.uikit.input