Skip to content

jio-input

Props

Prop nameDescriptionTypeValuesDefault
idAn ID must be providedstring-
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 end.
If not set, the icon will not be displayed.
@values Text for label.
union-
typeThe type of the inputstring-
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 input component