type
constructors
fields
cols |
Preferred width of field in columns, or |
---|---|
password |
Set to |
placeholder |
Hint that is displayed in the field before a user enters a value that describes the expected input, or |
ro |
Set to |
val |
Value of text field. |
methods
onAction |
Callback when |
---|---|
onModify |
Callback when value is modified by user. |
select |
Select given range of text |
Slot Details
cols
Int? cols
Preferred width of field in columns, or null
for default.
make
new make()
onAction
onModify
password
Bool password
Set to true
to mask characters inputed into field.
placeholder
Str? placeholder
Hint that is displayed in the field before a user enters a value that describes the expected input, or null
for no placeholder text.
ro
Bool ro
Set to true
to set field to readonly mode.
select
val
Str val
Value of text field.