An input value.
A handler that updates state when various input events occur.
Optional
idAn ID that uniquely identifies a text input.
Optional
isIf true
then element is auto-focusable inside a focus scope.
Optional
isIf true
then hover events are disabled.
Optional
isIf true
then an input is marked as invalid.
Optional
onA handler that is called when the element loses focus.
Optional
onA handler that is called when an input value is changed.
Optional
onA handler that is called when the element receives focus.
Optional
onA handler that is called when the element's focus status changes.
true
if an element is focused.
Optional
onA handler that is called when the element receives focus that must be visible to a user.
Optional
onA handler that is called when the hover state changes.
true
if an element is hovered.
Optional
onA handler that is called when a hover interaction ends.
Optional
onA handler that is called when a hover interaction starts.
An input value.
Props of the useFormattedInput hook.