DropdownFieldController
class DropdownFieldController(config: DropdownConfig, initialValue: String? = null) : InputController, SectionFieldErrorController, SectionFieldComposable
This class controls the dropdown view and implements the InputController interface. Because it can never be in error the errorMessage
is always null. It is also designed to always have a value selected, so isComplete is always true.
Properties
Functions
Link copied to clipboard
open override fun ComposeUI(enabled: Boolean, field: SectionFieldElement, modifier: Modifier, hiddenIdentifiers: Set<IdentifierSpec>, lastTextFieldIdentifier: IdentifierSpec?, nextFocusDirection: FocusDirection, previousFocusDirection: FocusDirection)
Link copied to clipboard
Get the label for the selected item, shown when the dropdown list is collapsed.
Link copied to clipboard
This is called when the value changed to is a raw backing value, not a display value.
Link copied to clipboard
This is called when the value changed to is a display value.