Home > @uniformdev/design-system > InputKeywordSearchProps

InputKeywordSearchProps interface

Signature:

Extends: InputHTMLAttributes<HTMLInputElement>

Properties

PropertyModifiersTypeDescription
compact?boolean | 'sm' | 'xs'(Optional) (optional) makes the input look more compact false
disabled?boolean(Optional) (optional) sets the input field disabled state false
disabledFieldSubmission?boolean(Optional) (optional) allows users to prevent default form field submission false
inputFieldName?string(Optional) (optional) allows users to set the "name" attribute value "keywordSearch"
onClear?() => void(Optional) (optional) when closed button is clicked
onSearchTextChanged(searchText: string) => voidfunction that takes a string value
placeholder?string(Optional) (optional) props that allows users to set the placeholder text value "Keyword search"
rounded?boolean(Optional) (optional) makes the corners of the input rounded false
value?string(Optional) (optional) prop that sets the value of the input field