StringProperty
@Serializable
@SerialName(value = "string")
A property which configure a field with a string value.
Constructors
Link copied to clipboard
constructor(title: String? = null, format: String? = null, description: String? = null, readOnly: Boolean? = null, const: JsonPrimitive? = null, not: Property? = null, pattern: Regex? = null, minLength: Int? = null, maxLength: Int? = null, enum: ImmutableList<String>? = null, oneOf: ImmutableList<Property>? = null)
Properties
Link copied to clipboard
An optional description.
Link copied to clipboard
An optional enum value to restrict the value of the property.
Link copied to clipboard
An optional list of key-value to validate the string value.
Link copied to clipboard
An optional pattern to restrict the value of the property.
Functions
Link copied to clipboard
Link copied to clipboard
Check if StringProperty is a dropdown based on the oneOf field.
Link copied to clipboard
Check if StringProperty is an email based on the format.
Link copied to clipboard
Check if StringProperty is a password based on the format.
Link copied to clipboard
Check if StringProperty is a phone based on the format.
Link copied to clipboard
Check if StringProperty is a radio based on the format and enum or oneOf fields.