ariaLabel
string
Defines how the input will be translated for the screen reader. If not specified it will fall back to the name.
ariaLabelledBy
string
The aria-labelledby attribute identifies the element (or elements) that labels the input.
autoCapitalize
GoabInputAutoCapitalize
Controls whether and how text input is automatically capitalized as it is entered/edited by the user. This only works on mobile devices.
autoComplete
string
Specifies the autocomplete attribute for the input field.
debounce
number
Debounce delay in milliseconds before firing the change event. 0 means no debounce.
disabled
boolean
Sets the disabled state for the control.
error
boolean
Sets the error state for the control.
focused
boolean
Sets the cursor focus to the input.
id
string
Sets the id attribute of the underlying web component.
leadingContent
string | TemplateRef<any>
Sets the leading content slot, accepting a string or template reference.
leadingIcon
GoabIconType
Icon shown to the left of the text.
max
string | number
A string value that supports any number, or an ISO 8601 format if using the date or datetime type.
maxLength
number
Sets the maximum number of characters (as UTF-16 code units) the user can enter into the input.
min
string | number
A string value that supports any number, or an ISO 8601 format if using the date or datetime type.
name
string
Name of input value that is received in the onChange event.
placeholder
string
Text displayed within the input when no value is set.
readonly
boolean
Makes the input readonly.
size
GoabInputSize
Sets the size of the input. 'compact' reduces height for dense layouts.
Defaults to default.
step
number
How much a number or date should change by.
testId
string
Sets the data-testid attribute for automated testing.
textAlign
"left" | "right"
Sets the text alignment within the input field.
Defaults to left.
trailingContent
string | TemplateRef<any>
Sets the trailing content slot, accepting a string or template reference.
trailingIcon
GoabIconType
Icon shown to the right of the text.
trailingIconAriaLabel
string
Aria label for the trailing icon. Use only when the trailing icon is interactive.
type
GoabInputType
Sets the type of the input field.
Defaults to text.
value
string
Sets the control value used by Angular forms and one-way binding.
variant
string
Sets the visual style variant. 'goa' for standard GoA styling, 'bare' for minimal styling.
width
string
Sets the width of the text input area.
mt, mr, mb, ml
Spacing
Apply margin to the top, right, bottom, and/or left of the component.