Input Field Component
open class InputFieldComponent(valueStore: Store<String>?) : Component<Unit> , EventProperties<HTMLInputElement> , ElementProperties<Input> , InputFormProperties, SeverityProperties
Content copied to clipboard
This class deals with the configuration of an input element.
The inputField can be configured for the following aspects:
the size of the element
some predefined styling variants
the element options of the HTML input element can be set. Attributes
For a detailed explanation and examples of usage have a look at the inputField function!
Constructors
InputFieldComponent
Link copied to clipboard
Types
Functions
severity
Link copied to clipboard
open override fun severity(value: SeverityProperties.SeverityContext.() -> Severity)
Content copied to clipboard
severityClassOf
Link copied to clipboard
open override fun severityClassOf(severityStyle: SeverityStyles): Flow<StyleClass>
Content copied to clipboard
Properties
disabled
Link copied to clipboard
element
Link copied to clipboard
This property enables the client to access the deeper features of an element even though the component itself does not offer an appropriate functionality.
events
Link copied to clipboard
open override val events: ComponentProperty<EventContext<HTMLInputElement>.() -> Unit>
Content copied to clipboard
This property enables the client to access all events offered by the underlying HTML element.
placeholder
Link copied to clipboard
readonly
Link copied to clipboard
severity
Link copied to clipboard
size
Link copied to clipboard
step
Link copied to clipboard
type
Link copied to clipboard
value
Link copied to clipboard
variant
Link copied to clipboard
val variant: ComponentProperty<InputFieldVariants.() -> Style<BasicParams>>
Content copied to clipboard