StaticTextElement

data class StaticTextElement(identifier: IdentifierSpec, stringResId: Int, controller: InputController?) : 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
fun StaticTextElement(identifier: IdentifierSpec, stringResId: Int, controller: InputController? = null)

Functions

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

Properties

Link copied to clipboard
open override val controller: InputController? = null
Link copied to clipboard
open override val identifier: IdentifierSpec
Link copied to clipboard
val stringResId: Int