TextInput
Basic text input control.
Import
xml
<import component="EvoSC.Controls.TextInput" as="TextInput" />
Properties
Name | Type | Default | Description |
---|---|---|---|
id | string | None | The name of the control. |
x | double | 0.0 | The X position of the control. |
y | double | 0.0 | The Y position of the control. |
isPassword | bool | false | Whether to hide the input or not. |
valueType | string | Ml_String | The value type of the text input. |
width | double | 25.0 | The width of the control. |
height | double | 5.0 | The height of the control. |
value | string | `` | Initial value for the control. |
autoSelect | bool | false | Whether to automatically select it's content when it is focused. |
maxLength | int | 255 | The maximum number of characters that can be added. |
placeholder | string | `` | Default text to show when empty |