Skip to content

jio-password

Props

Prop nameDescriptionTypeValuesDefault
idAn ID must be providedstring-
enableShowToggleWhether the input should be have an show toggle
@values true, false
boolean-
isInvalidWhether the input should be rendered as invalid
@values true, false
boolean-
invalidTextIf an input is set to 'invalid', what text to display
@values Text for invalid entry (optional)
@see isInvalid
string-
isValidWhether the input should be rendered as valid
@values true, false
boolean-
placeholderThe placeholder text to be renderedstring-
labelTextAn optional text for the label.
If not set, the label will not be displayed.
@values Text for label.
union-
startIconAn optional icon for the input, this icon will be shown at the front.
If not set, the icon will not be displayed.
@values Text for label.
union-
endIconAn optional icon for the input, this icon will be shown at the front.
If not set, the icon will not be displayed.
@values Text for label.
union-
showIconAn optional icon for the input, this icon will be shown at the end.
If not set, the icon will not be displayed.
@values Text for label.
union-
hideIconAn optional icon for the input, this icon will be shown at the end.
If not set, the icon will not be displayed.
@values Text for label.
union-
maxLengthThe maximum length of the input valuenumber-1024
requiredWhether the input is a required element for validation
@values true, false
boolean-
autocompleteThe autocompletion setting for the inputstring-

View on Gitlab

General

This is the standard password component