跳到主要内容

ApiTextField

Represents the ApiTextField class.

Methods

MethodReturnsDescription
ClearFormatbooleanClears format of field.
GetCharLimitnumberGets text field chars limit. <note> Char limit 0 means field doesn't have char limit
GetClassType"textField"Returns a type of the ApiTextField class.
IsCombbooleanChecks if text field is comb.
IsMultilinebooleanChecks if text field is multiline.
IsScrollLongTextbooleanChecks if text field can scroll long text.
SetCharLimitbooleanSets text field chars limit. <note> Char limit 0 means field doesn't have char limit
SetCombbooleanSets text field comb prop. 💡 Should have char limit more then 0
SetDateFormatbooleanSets date format for field.
SetMaskbooleanSets mask for entered text for field.
SetMultilinebooleanSets text field multiline prop.
SetNumberFormatbooleanSets number format for field.
SetPercentageFormatbooleanSets percentage format for field.
SetRegularExpbooleanSets regular expression validate string for field.
SetScrollLongTextbooleanSets text field can scroll long text prop.
SetSpecialFormatbooleanSets special format for field.
SetTimeFormatbooleanSets time format for field.
SetValidateRangebooleanSets validate range for field. 💡 Can only be applied to fields with a percentage or number format.