InputOwnProps

Types

Link copied to clipboard
interface SlotProps

Properties

Link copied to clipboard
abstract var autoComplete: String?

This prop helps users to fill forms faster, especially on mobile devices. The name can be confusing, as it's more like an autofill. You can learn more about it following the specification.

Link copied to clipboard
abstract var autoFocus: Boolean?

If true, the input element is focused during the first mount.

Link copied to clipboard
abstract override var className: ClassName?

Class name applied to the root element.

Link copied to clipboard
abstract var endAdornment: ReactNode?

Trailing adornment for this input.

Link copied to clipboard
abstract var error: Boolean?

If true, the input will indicate an error by setting the aria-invalid attribute on the input and the baseui--error class on the root element. The prop defaults to the value (false) inherited from the parent FormControl component.

Link copied to clipboard
abstract var id: String?

The id of the input element.

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

Maximum number of rows to display when multiline option is set to true.

Link copied to clipboard
abstract var minRows: Number?

Minimum number of rows to display when multiline option is set to true.

Link copied to clipboard
abstract var multiline: Boolean

If true, a textarea element is rendered.

Link copied to clipboard
abstract var name: String?

Name attribute of the input element.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var placeholder: String?

The short hint displayed in the input before the user enters a value.

Link copied to clipboard
abstract var readOnly: Boolean?

It prevents the user from changing the value of the field (not from interacting with the field).

Link copied to clipboard
abstract var rows: Number?

Number of rows to display when multiline option is set to true.

Link copied to clipboard

The props used for each slot inside the Input.

Link copied to clipboard
abstract var slots: InputSlots?

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

Link copied to clipboard
abstract var startAdornment: ReactNode?

Leading adornment for this input.

Link copied to clipboard
abstract var type: InputType?

Type of the input element. It should be a valid HTML5 input type.

Link copied to clipboard
abstract var value: Any?

The value of the input element, required for a controlled component.

Functions

Link copied to clipboard
open inline operator fun Props?.unaryPlus()