Skip to main content

StringAttribute

The string attribute is an object that extends AttributeBase and contains the following properties:

PropertyDescriptionRequired
type'string'Yes
formatThe format of the string. Can be 'text', 'textarea', 'email', 'phone', 'url', 'richtext'.Yes
patternThe pattern of the string to validate.No
minLengthThe minimum length of the string.No
maxLengthThe maximum length of the string.No
textTransformThe text transform of the string. Can be 'none', 'uppercase', 'lowercase', 'capitalize'.No