@codeleap/mobile 3.6.1 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -207,7 +207,7 @@ export const Autocomplete = <T extends string | number = string, Multi extends b
|
|
|
207
207
|
placeholder={placeholder}
|
|
208
208
|
debugName={debugName}
|
|
209
209
|
onTypingChange={(isTyping) => {
|
|
210
|
-
if (searchable && !!loadOptions) {
|
|
210
|
+
if (searchable && !!loadOptions && isTyping) {
|
|
211
211
|
setLoading(isTyping)
|
|
212
212
|
}
|
|
213
213
|
}}
|
|
@@ -74,6 +74,8 @@ const defaultProps:Partial<SelectProps<any, boolean>> = {
|
|
|
74
74
|
},
|
|
75
75
|
outerInputComponent: OuterInput,
|
|
76
76
|
searchInputProps: {},
|
|
77
|
+
arrowIconName: 'chevrons-up-down' as IconPlaceholder,
|
|
78
|
+
clearIconName: 'x' as IconPlaceholder,
|
|
77
79
|
}
|
|
78
80
|
|
|
79
81
|
export const Select = <T extends string|number = string, Multi extends boolean = false>(selectProps:SelectProps<T, Multi>) => {
|
|
@@ -94,8 +96,8 @@ export const Select = <T extends string|number = string, Multi extends boolean =
|
|
|
94
96
|
listProps,
|
|
95
97
|
debugName,
|
|
96
98
|
placeholder = 'Select',
|
|
97
|
-
arrowIconName
|
|
98
|
-
clearIconName
|
|
99
|
+
arrowIconName,
|
|
100
|
+
clearIconName,
|
|
99
101
|
clearable = false,
|
|
100
102
|
selectedIcon = 'check',
|
|
101
103
|
inputProps = {},
|