autoforma 1.0.66 → 1.0.67
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/dist/components/AutoForm/AutoForm.types.d.ts +1 -1
- package/dist/index.cjs.js +8 -8
- package/dist/index.es.js +176 -176
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export type UpdateFieldSchemaMap<TValues extends Record<string, any> = Record<st
|
|
|
21
21
|
[K in keyof TValues]?: (schema: FieldSchema<TValues>, values: TValues) => FieldSchema<TValues>;
|
|
22
22
|
};
|
|
23
23
|
export type OnFieldChangeMap<TValues extends Record<string, any> = Record<string, any>> = {
|
|
24
|
-
[K in keyof TValues]?: (value: TValues[K], form: UseFormReturnType<TValues>) => void | Promise<void>;
|
|
24
|
+
[K in keyof TValues]?: (path: string, value: TValues[K], form: UseFormReturnType<TValues>) => void | Promise<void>;
|
|
25
25
|
};
|
|
26
26
|
export interface AutoFormRef<TValues extends Record<string, any> = Record<string, any>> {
|
|
27
27
|
submit: () => void;
|