UseInputReturnValue

external interface UseInputReturnValue(source)

Properties

Link copied to clipboard
abstract var disabled: Boolean

If true, the component will be disabled.

Link copied to clipboard
abstract var error: Boolean

If true, the input will indicate an error by setting the aria-invalid attribute.

Link copied to clipboard
abstract var focused: Boolean

If true, the input will be focused.

Link copied to clipboard
abstract var formControlContext: Any?

Return value from the useFormControlContext hook.

Link copied to clipboard
abstract var getInputProps: Props

Resolver for the input slot's props.

Link copied to clipboard
abstract var getRootProps: Props

Resolver for the root slot's props.

Link copied to clipboard
Link copied to clipboard
abstract var required: Boolean

If true, the input will indicate that it's required.

Link copied to clipboard
abstract var value: Any

The value of the input element.