Skip to content

Commit

Permalink
STSMACOM-786 Added SearchAndSort inputType prop to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Oct 26, 2023
1 parent 030baed commit c7ede60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SearchAndSort/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ filterConfig | array of structures | Configuration for the module's filters, as
hasRowClickHandlers | bool | Defaults to true. Turns row-level click handlers on and off for the results.
initialFilters | string | The initial state of the filters when the application started up, used when resetting to the initial state. Takes the same form as the `filters` part of the URL: a comma-separated list of `group`.`name` filters that are selected.
disableFilters | object whose keys are filter-group names | In the display of filter groups, those that are named in this object are greyed out and cannot be selected.
inputType | string | Type of search box. Can be `input` or `textarea`.
filterChangeCallback | function | If provided, this function is invoked when the user changes a filter. It is passed the new set of filters, in the form of an object whose keys are the `group`.`name` specifiers of each selected filter.
onFilterChange | function | Callback to be called after filter value is changed. Gets filter name and filter values in a form of an object `{ name: <String>, values: <Array> }`.
renderFilters | function | Renders a set of filters. Gets onChange callback to be called after filter value change.
Expand Down

0 comments on commit c7ede60

Please sign in to comment.