Skip to main content

Otp

With the Otp component, you can send a four-digit unique code to the entered mobile number for its verification.

Example

A8Studio

API Methods

setVisibility

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

setVisibility( value: boolean )

setVisibilityCondition

Sets the hide condition.

setVisibilityCondition( value: Condition ( String ) )

setSize

Sets the size by only using the parameters passed in.

setSize( value: String - "small" / "medium" / "large" )

setLabel

Sets the label of the field.

setLabel( value: String )

setRequired

Sets a field as mandatory or not.

setRequried( value: boolean )