Home > @uniformdev/design-system > InputKeywordSearchProps

InputKeywordSearchProps interface

Signature:

Extends: InputHTMLAttributes<HTMLInputElement>

Properties

Property

Modifiers

Type

Description

compact?

boolean | 'sm' | 'xs'

(Optional) (optional) makes the input look more compact

disabled?

boolean

(Optional) (optional) sets the input field disabled state

disabledFieldSubmission?

boolean

(Optional) (optional) allows users to prevent default form field submission

inputFieldName?

string

(Optional) (optional) allows users to set the "name" attribute value

onClear?

() => void

(Optional) (optional) when closed button is clicked

onSearchTextChanged

(searchText: string) => void

function that takes a string value

placeholder?

string

(Optional) (optional) props that allows users to set the placeholder text value

rounded?

boolean

(Optional) (optional) makes the corners of the input rounded

value?

string

(Optional) (optional) prop that sets the value of the input field