Skip to main content

Email

It is used for taking text inputs from the user, it defines a field for an Email address. The input value is automatically validated to ensure that it is a properly formatted e-mail address.

Example

A8Studio

API Methods

setLabel

Sets the label of the Email field.

setLabel(label: string): void

setPlaceholder

Sets the placeholder as a string that temporarily holds the place for the final data.

setPlaceholder(placeholder: string): void

setReadOnly

Sets the ReadOnly flag for this component.

setReadOnly(readOnly: boolean): void

setRequired

Sets a field to be required or not.

setRequired(required: boolean): void

setSize

Sets the size only using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setValue

Sets the value of a field.

setValue(value: string): void

setVisibility

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void