Skip to main content

Input (text)



Development

Examples

Basic

PreviewAngularReactVueJavaScript

Disabled

PreviewAngularReactVueJavaScript

Label

PreviewAngularReactVueJavaScript

Pattern

PreviewAngularReactVueJavaScript

Readonly

PreviewAngularReactVueJavaScript

Types

PreviewAngularReactVueJavaScript

Validation

PreviewAngularReactVueJavaScript

Slots

PreviewAngularReactVueJavaScript

API

Properties

Name
Description and specifications
allowedCharactersPattern
The allowed characters pattern for the text field.
Attribute:
allowed-characters-pattern
Type:
string | undefined
disabled
Specifies whether the text field is disabled.
Attribute:
disabled
Type:
boolean
Default:
false
helperText
The helper text for the text field.
Attribute:
helper-text
Type:
string | undefined
infoText
The info text for the text field.
Attribute:
info-text
Type:
string | undefined
invalidText
The error text for the text field.
Attribute:
invalid-text
Type:
string | undefined
label
The label for the text field.
Attribute:
label
Type:
string | undefined
maxLength
The maximum length of the text field.
Attribute:
max-length
Type:
number | undefined
minLength
The minimum length of the text field.
Attribute:
min-length
Type:
number | undefined
name
The name of the text field.
Attribute:
name
Type:
string | undefined
pattern
The pattern for the text field.
Attribute:
pattern
Type:
string | undefined
placeholder
The placeholder text for the text field.
Attribute:
placeholder
Type:
string | undefined
readonly
Specifies whether the text field is readonly.
Attribute:
readonly
Type:
boolean
Default:
false
required
Specifies whether the text field is required.
Attribute:
required
Type:
boolean
Default:
false
showTextAsTooltip
Specifies whether to show the text as a tooltip.
Attribute:
show-text-as-tooltip
Type:
boolean | undefined
type
The type of the text field. Possible values are 'text', 'email', or 'password'.
Attribute:
type
Type:
"email" | "password" | "tel" | "text" | "url"
Default:
'text'
validText
The valid text for the text field.
Attribute:
valid-text
Type:
string | undefined
value
The value of the text field.
Attribute:
value
Type:
string
Default:
''
warningText
The warning text for the text field.
Attribute:
warning-text
Type:
string | undefined

Events

Name
Description and specifications
ixBlur
Event emitted when the text field loses focus.
Detail:
void
validityStateChange
Event emitted when the validity state of the text field changes.
Detail:
ValidityState
valueChange
Event emitted when the value of the text field changes.
Detail:
string

Slots

Name
Description and specifications
end
Element will be displayed at the end of the input
start
Element will be displayed at the start of the input