Homecomponentsinput
PasswordField
A field for getting sensitive text.
The PasswordField component is used to get user's password.
Size
Use size property to set the size of input.
Regular
Small
Label
Use label property to set the label.
Password
Label tip
Use tip property to add a tooltip next to label.
Password
Secondary Label
Use secondaryLabel to add a seconday label.
Password
Description
Use description property to add a note below the input.
Password
Disabled
Use disabled property to disable the input.
Password
Error
Use errorMessage property to add an error message below the input.
Password
API
onChange
Required
(value: string) => void
name
Required
string
textAlign
center
end
start
size
small
regular
disabled
true
false
data
DataAttributeMap
label
string
id
string
placeholder
string
prefix
ReactNode
onBlur
FocusEventHandler<HTMLInputElement>
onKeyDown
KeyboardEventHandler<HTMLInputElement>
value
string
required
true
false
maxLength
number
tip
string
secondaryLabel
ReactNode
description
string
errorMessage
string
ref
Ref<HTMLInputElement>
key
Key | null