@mobx-ecosystem/mobx-form 2.14.21 → 2.14.22
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.
|
@@ -41,7 +41,7 @@ export declare class AutocompleteFieldService<T extends ValueType<object | unkno
|
|
|
41
41
|
get isTouched(): boolean;
|
|
42
42
|
get initValue(): ValueType<T>;
|
|
43
43
|
get props(): {
|
|
44
|
-
options?:
|
|
44
|
+
options?: never[] | NonNullable<T> | undefined;
|
|
45
45
|
loading?: boolean | undefined;
|
|
46
46
|
onSearchChange: (e: any, value: string) => void;
|
|
47
47
|
onFocus: () => void;
|
package/dist/types.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ export type AutocompleteFieldOptionsType<T> = FieldOptionsType<T> & {
|
|
|
70
70
|
onInputBeforeChange?: BeforeChangeHandler<string>;
|
|
71
71
|
onFocus?: () => void;
|
|
72
72
|
loadingFn?: () => boolean | undefined;
|
|
73
|
-
optionsFn?: () => T
|
|
73
|
+
optionsFn?: () => T;
|
|
74
74
|
};
|
|
75
75
|
export type MethodOptions = {
|
|
76
76
|
validate?: boolean;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@mobx-ecosystem/mobx-form",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "2.14.
|
|
5
|
+
"version": "2.14.22",
|
|
6
6
|
"description": "provides the ability to use forms with validation in MobX stores",
|
|
7
7
|
"main": "./dist/index.prod.js",
|
|
8
8
|
"types": "./dist/index.d.ts",
|