FormControlOwnProps

Types

Link copied to clipboard
interface SlotProps

Properties

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract override var className: ClassName?

Class name applied to the root element.

Link copied to clipboard
abstract var defaultValue: Any?
Link copied to clipboard
abstract var disabled: Boolean?

If true, the label, input and helper text should be displayed in a disabled state.

Link copied to clipboard
abstract var error: Boolean?

If true, the label is displayed in an error state.

Link copied to clipboard
abstract var key: Key?
Link copied to clipboard

Callback fired when the form element's value is modified.

Link copied to clipboard
abstract var required: Boolean?

If true, the label will indicate that the input is required.

Link copied to clipboard

The props used for each slot inside the FormControl.

Link copied to clipboard
abstract var slots: FormControlSlots?

The components used for each slot inside the FormControl. Either a string to use a HTML element or a component.

Link copied to clipboard
abstract var value: Any?

The value of the form element.

Functions

Link copied to clipboard
open inline fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator fun <P : Props> ElementType<P>.invoke()
open inline operator fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator fun Char.unaryPlus()
open inline operator fun String?.unaryPlus()
open inline operator fun ReactNode?.unaryPlus()
open inline operator fun Props?.unaryPlus()