OTPElement

data class OTPElement(val identifier: IdentifierSpec, val controller: OTPController) : FormElement

Constructors

Link copied to clipboard
constructor(identifier: IdentifierSpec, controller: OTPController)

Properties

Link copied to clipboard
open override val allowsUserInteraction: Boolean = true

Whether the form element allows user interaction.

Link copied to clipboard
open override val controller: OTPController
Link copied to clipboard
open override val identifier: IdentifierSpec
Link copied to clipboard
open override val mandateText: ResolvableString? = null

The mandate text, if any.

Link copied to clipboard

A Flow that emits the OTP value entered by the user.

Functions

Link copied to clipboard
open override fun getFormFieldValueFlow(): StateFlow<List<Pair<IdentifierSpec, FormFieldEntry>>>
Link copied to clipboard