File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { SearchConfig } from '@terrestris/ol-util/dist/WfsFilterUtil/WfsFilterUt
7
7
import useMap from '@terrestris/react-util/dist/Hooks/useMap/useMap' ;
8
8
import { useWfs , WfsQueryArgs } from '@terrestris/react-util/dist/Hooks/useWfs/useWfs' ;
9
9
import { AutoComplete , Input , Spin } from 'antd' ;
10
+ import { AutoCompleteProps } from 'antd/lib/auto-complete' ;
10
11
import { DefaultOptionType , OptionProps } from 'antd/lib/select' ;
11
12
import _get from 'lodash/get' ;
12
13
import _isNil from 'lodash/isNil' ;
@@ -26,7 +27,7 @@ export type WfsSearchFieldProps = {
26
27
onBeforeSearch ?: ( value : string ) => string ;
27
28
onChange ?: ( val : OlFeature [ ] | undefined ) => undefined ;
28
29
value ?: OlFeature [ ] | undefined ;
29
- } & SearchConfig & Omit < WfsQueryArgs , 'searchConfig' | 'searchTerm' > ;
30
+ } & SearchConfig & Omit < WfsQueryArgs , 'searchConfig' | 'searchTerm' > & Omit < AutoCompleteProps , 'onChange' > ;
30
31
31
32
const defaultClassName = `${ CSS_PREFIX } wfssearch` ;
32
33
You can’t perform that action at this time.
0 commit comments