The PasswordInput creates an input of type password with a set of rules. The eye icon lets you display the password if needed.
View source codestringThe current value
stringclassName for the element.
"content" | "parent"Whether the PasswordInput should fit its parent or content.
Default: contentstringThe id of the PasswordInput.
booleanWhether the Input should be disabled.
Default: falsestringThe name of the PasswordInput, used when submitting an HTML form.
FocusEventHandler<HTMLInputElement>Handler that is called when the input loses focus.
ChangeEventHandler<HTMLInputElement>Handler that is called when the value changes.
FocusEventHandler<HTMLInputElement>Handler that is called when the input receives focus.
KeyboardEventHandler<HTMLInputElement>Handler that is called when a key is pressed.
stringTemporary text that occupies the PasswordInput when it is empty.
Ref<HTMLInputElement>PasswordRule[]The rules to apply.
Default: []