Skip to main content
The SearchInput component renders an input field that enables users to search. The component doesn’t provide search functionality out of the box, but includes props for managing input state and validation.
ui-extension-components-date-input

Props

PropTypeDescription
clearableBooleanWhen set to true, shows a clear button to clear the input. Default is true.
descriptionStringInstructional message to help understand the purpose of the input.
errorBooleanWhen set to true, renders the error state and shows validationMessage as an error.
getValidationMessage(value: string) => string | nullCalled to validate the input value and display a validation message. Depending on the width and length of message, the message display may appear above or inline with the input.
labelStringThe label text to display for the input.
nameStringThe unique identifier for the input.
onBlur(value: string) => voidA function that is called when the field loses focus.
onChange(value: string) => voidA callback function that is invoked when the input value changes.
onFocus(value: string) => voidA function that is called when the field gets focused.
onInput(value: string) => voidA callback function that is invoked every time the field is edited by the user.
placeholderStringText that appears in the input when it has no value set.
readOnlyBooleanWhen set to true, the field is not editable.
requiredBooleanWhen set to true, displays a required field indicator.
tooltipStringText that will appear in a tooltip on hover next to the input label.
validationMessageStringThe text to show under the input for error or success validations. Will appear below the input. Learn more about validation messages.
valueStringThe value of the input.

Validation messages

Using the validationMessage and getValidationMessage props, you can implement validation into the search input. By default, validationMessage will render as a green success message. When the error prop is true, the message will render as red and the search input will include a red border.
SearchInput validation messages and
errors

Table search example

The example below creates a searchable table.
Using a SearchInput component to search through table
data
Last modified on March 29, 2026