GraffitiControlGroupTextField

Subclass of GraffitiControlGroupItem

Enumerations #

NameValues
EnterKeyHintsEnter
Done
Go
NextFocus
PreviousFocus
Search
Send
StatesUnvalidated
Valid
Invalid
TypesText
Color
Date
DateTime
DateTimeLocal
Email
Month
Number
Password
Search
Telephone
Time
URL
Week

Constants #

This class exposes no constants.

Events #

This class exposes no events.

Methods #

NameParametersReturn TypeDescription
Additem as StringNoneAdds a new string value to the end of to group.
AddAtindex as Integer
item as String
NoneAdds a new string value at the specified index within the button’s menu.
Constructortext as StringNoneCreates a new instance of the class.
IndexOfitem as StringIntegerReturns the index position of the specified string value within the button’s menu.
ItemAtindex as IntegerStringReturns the string value at the specified index position within the button’s menu.
LastIndexNoneIntegerReturns the index of last string value within the button’s menu.
Removeitem as StringNoneRemoves the specified string value from the button’s menu.
RemoveAllNoneNoneRemoves all string values from the button’s menu.
RemoveAtindex as IntegerNoneRemoves the string value at the specified index position from the button’s menu.

Properties #

NameTypeDefault ValueDescription
EnterKeyHintEnterKeyHintsEnterType of enter key to display in on-screen keyboards.
IndicatorsWebSDKUIControl.IndicatorsDefaultIndicator applied to the field.
LabelString“”Label text to display for the field.
MaskString“”Mask applied to the field’s input value.
MaxLengthInteger0Maximum length of value the user is permitted to enter.
MaxValueInteger0Maximum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere.
MinValueInteger0Minimum integer value the user is permitted to enter. Only applies to some field types in some browsers. Causes validation everywhere.
PatternString“”RegEx pattern to use for validation.
PatternControlsStateBooleanFalseWhen True, the validation of the value using the Pattern RegEx will determine the state of the field.
PlaceholderString“”Placeholder text.
ReadOnlyBooleanFalseWhen True, users will be unable to modify the text of the field.
RequiredBooleanFalseDetermines if a value is required for this control.
StateStatesUnvalidatedVisual state applied to the control.
TextString“”Value of the field.
TypeTypesTextThe type of field displayed.