Properties for adding search attributes to an advanced search input. These properties must be passed in as an object within an array to the search input component's attribute properrty.

interface SearchInputSearchAttribute {
    attr: string;
    display: ReactNode;
}

Properties

Properties

attr: string

The search attribute's value to be provided in the search input's query string. It should have no spaces and be unique for every attribute.

display: ReactNode

The search attribute's display name. It is used to label the field in the advanced search menu.