File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ const InputFieldSearch: React.FC<InputFieldSearchProps> = ({
107107 inputValue = { searchValue }
108108 onChange = { handleAdd }
109109 onInputChange = { handleInputChange }
110- ffilterOptions = { ( x ) => x }
110+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
111+ // @ts -ignore
112+ filterOptions = { ( x ) => x }
111113 disableClearable
112114 includeInputInList
113115 filterSelectedOptions
Original file line number Diff line number Diff line change @@ -167,8 +167,10 @@ const UserSearchField: React.FC<UserSearchFieldProps> = ({
167167 options = { displayOptions }
168168 getOptionLabel = { ( ) => inputValue }
169169 isOptionEqualToValue = { ( option , value ) => option . id === value . id }
170- ffilterOptions = { ( options , { inputValue } ) => {
171- return options . filter ( ( option ) => {
170+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
171+ // @ts -ignore
172+ filterOptions = { ( options , { inputValue } ) => {
173+ return options . filter ( ( option : User ) => {
172174 const searchStr = inputValue . toLowerCase ( ) ;
173175 return (
174176 option . first_name . toLowerCase ( ) . includes ( searchStr ) ||
You can’t perform that action at this time.
0 commit comments