Table of Contents
Subclass of GraffitiControlGroupItem
Enumerations #
Name | Values |
---|---|
States | Unvalidated Valid Invalid |
WrapModes | SoftBreaks HardBreaks Off |
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Constructor | text as String | None | Creates a new instance of the class. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
Autocapitalize | Boolean | False | Determines whether the value should be automatically capitalized by the user’s browser. |
Autocorrect | Boolean | True | Determines whether the user’s browser should employ autocorrect. |
Indicator | WebSDKUIControl.Indicators | Default | Indicator applied to the control. |
Label | String | “” | Text displayed as a label for the control. |
LengthControlsState | Boolean | False | When True, MaxLength and MinLength will be used to validate the control’s content. |
MaxLength | Integer | 0 | Maximum text length allowed. |
MinLength | Integer | 0 | Minimum text length allowed. |
Placeholder | String | “” | Text displayed within the component when there is no content. |
ReadOnly | Boolean | False | Determines whether the user can modify the control’s content. |
Required | Boolean | False | Determines whether the control is required to have a value. |
Spellcheck | Boolean | True | Controls whether the user’s browser will employ the spellchecking engine on the control’s content. |
State | States | Unvalidated | Determines the visual state of the control. |
Text | String | “” | Content of the control. |
WrapMode | WrapModes | SoftBreak | Determines how the value is wrapped by the user’s browser. |
Notes #
WrapModes #
WrapModes control how the user’s browser modifies the content to display and return long values, with the following effects:
- SoftBreak
Wraps the content visually without modifying it. - HardBreak
Wraps the content by inserting EndOfLines. - Off
Does not wrap content.