UseInputParameters

external interface UseInputParameters(source)

Properties

Link copied to clipboard
abstract external var defaultValue: Any?

The default value. Use when the component is not controlled.

Link copied to clipboard
abstract external var disabled: Boolean?

If true, the component is disabled. The prop defaults to the value (false) inherited from the parent FormControl component.

Link copied to clipboard
abstract external var error: Boolean?

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

Link copied to clipboard
abstract external var inputRef: Ref<HTMLInputElement>?
Link copied to clipboard
abstract external var onBlur: FocusEventHandler<HTMLElement>?
Link copied to clipboard
abstract external var onChange: ChangeEventHandler<HTMLElement, *>?
Link copied to clipboard
abstract external var onClick: MouseEventHandler<*>?
Link copied to clipboard
abstract external var onFocus: FocusEventHandler<HTMLElement>?
Link copied to clipboard
abstract external var required: Boolean?

If true, the input element is required. The prop defaults to the value (false) inherited from the parent FormControl component.

Link copied to clipboard
abstract external var value: Any?