StaticTextElement

data class StaticTextElement(val identifier: IdentifierSpec, val stringResId: Int, val controller: InputController? = null) : FormElement

This is an element that has static text because it takes no user input, it is not outputted from the list of form field values. If the stringResId contains a %s, the first one will be populated in the form with the merchantName parameter.

Constructors

Link copied to clipboard
constructor(identifier: IdentifierSpec, stringResId: Int, controller: InputController? = null)

Properties

Link copied to clipboard
open override val allowsUserInteraction: Boolean = false
Link copied to clipboard
open override val controller: InputController? = null
Link copied to clipboard
open override val identifier: IdentifierSpec
Link copied to clipboard
open override val mandateText: ResolvableString? = null
Link copied to clipboard

Functions

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