Skip to content

Commit

Permalink
Merge pull request #4192 from marmelab/fix-matchSuggestion-type
Browse files Browse the repository at this point in the history
Fix matchSuggestion Type
  • Loading branch information
djhi authored Dec 19, 2019
2 parents ce20601 + 99af577 commit dfdaa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ra-core/src/form/useSuggestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ interface Options extends UseChoicesOptions {
emptyText?: string;
emptyValue?: any;
limitChoicesToValue?: boolean;
matchSuggestion?: (filter: string) => (suggestion: any) => boolean;
matchSuggestion?: (filter: string, suggestion: any) => boolean;
suggestionLimit?: number;
selectedItem?: any | any[];
}
Expand Down

0 comments on commit dfdaa33

Please sign in to comment.