options | Array | [] | An array supplied to the filter function. |
maxVisible | Number | | Limit the number of options rendered in the results list. |
customClasses | Object | | Allowed Keys: input results listItem listAnchor hover typeahead resultsTruncated token
An object containing custom class names for child elements. Useful for integrating with 3rd party UI kits. |
placeholder | String | | Placeholder text for the typeahead input. |
:new: disabled | Boolean | false | Set to true for disabling the StructureQuerySearch |
:new: defaultSelected | function, Array | [] | Allows user to initialize the search with selected values |
:new: categoryHeader | String, Component | "Category" | Allows user the change the header title of Category |
:new: operatorHeader | String, Component | "Operator" | Allows user the change the header title of Operator |
:new: valueHeader | String, Component | "Value" | Allows user the change the header title of Value |
:new: isAllowSearchDropDownHeader | Boolean | "true" | Allows user to enable/disable search drop-down header |
:new: isAllowOperator | Boolean | false | Allows user to enable/disable operators in search |
:new: isAllowClearAll | Boolean | true | Allows user to clear all selected data |
onTokenRemove | Function | | Event handler triggered whenever a token is removed. |
onTokenAdd | Function | | Event handler triggered whenever a token is added. Params: (addedToken) |
:new: onClearAll | function | | Event handler triggered whenever clear all button clicked |
onOptionSelected | Function | | Event handler triggered whenever a user picks an option. |
:new: updateOptions | function | | Allows user to update the Options(props) at runtime, this function is called before onTokenRemove and onTokenAdd |
:new: fuzzySearchEmptyMessage | String | "No result found" | This message is shown when dropdown doesn't have search value |
:new: renderLoading | function, Component | "Loading...." | Show custom loader when values are retrieved using Ajax |
:new: renderTokens | function | | Allows user to render custome Token Component |
:new: renderTokenItem | function | | Allows user to render custome Token Item |
:new: renderSearchItem | function | | Allows user to render custome value |
onKeyDown | Function | | Event handler for the keyDown event on the typeahead input. |
onKeyPress | Function | | Event handler for the keyPress event on the typeahead input. |
onKeyUp | Function | | Event handler for the keyUp event on the typeahead input. |
onBlur | Function | | Event handler for the blur event on the typeahead input. |
onFocus | Function | | Event handler for the focus event on the typeahead input. |