Skip to content

Commit

Permalink
Fix form handler types
Browse files Browse the repository at this point in the history
  • Loading branch information
silviogutierrez committed Nov 17, 2023
1 parent 0c8f6de commit 7cb8280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/reactivated/src/forms/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface FormHandler<T extends FieldMap> {
initial: FormValues<T>;
errors: FormErrors<T>;

fields: {[K in keyof T]: FieldHandler<T[keyof T]["widget"]>};
fields: {[K in keyof T]: FieldHandler<T[K]["widget"]>};
visibleFields: FieldHandler<T[keyof T]["widget"]>[];
hiddenFields: FieldHandler<DjangoFormsWidgetsHiddenInput>[];
nonFieldErrors: string[] | null;
Expand Down

0 comments on commit 7cb8280

Please sign in to comment.