We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fadc33 commit 87360f2Copy full SHA for 87360f2
packages/payload/src/admin/forms/Label.ts
@@ -13,9 +13,9 @@ export type GenericLabelProps = {
13
}
14
15
export type FieldLabelClientProps<
16
- TFieldClient extends ClientFieldWithOptionalType = ClientFieldWithOptionalType,
+ TFieldClient extends Partial<ClientFieldWithOptionalType> = Partial<ClientFieldWithOptionalType>,
17
> = {
18
- field: TFieldClient
+ field?: TFieldClient
19
} & GenericLabelProps
20
21
export type FieldLabelServerProps<
0 commit comments