EmailConfig

class EmailConfig(@StringRes val label: Int = R.string.stripe_email) : TextFieldConfig

Constructors

Link copied to clipboard
constructor(@StringRes label: Int = R.string.stripe_email)

Types

Link copied to clipboard

Properties

Link copied to clipboard

This specifies how the field should be capitalized

Link copied to clipboard
open override val debugLabel: String

This is a label for debug logs

Link copied to clipboard
open override val keyboard: KeyboardType

This is the type of keyboard to use for this field

Link copied to clipboard
open override val label: Int

This is the label to describe the field

Link copied to clipboard
open override val loading: StateFlow<Boolean>
Link copied to clipboard
open val placeHolder: String?
Link copied to clipboard
open override val trailingIcon: MutableStateFlow<TextFieldIcon?>
Link copied to clipboard
open override val visualTransformation: VisualTransformation? = null

Transformation for changing visual output of the input field.

Functions

Link copied to clipboard
open override fun convertFromRaw(rawValue: String): String

This will convert from a raw value used in the parameter map to a disiplayValue

Link copied to clipboard
open override fun convertToRaw(displayName: String): String

This will convert the field to a raw value to use in the parameter map

Link copied to clipboard
open override fun determineState(input: String): TextFieldState

This will determine the state of the field based on the text

Link copied to clipboard
open override fun filter(userTyped: String): String

This will allow all characters, but will show as invalid if it doesn't match the regular expression.