Passing drattId to LINK_BUTTON #16759
Annotations
10 errors
Compile
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: ({ name: string; type: "SELECT_WITH_OPTIONS"; label: { defaultMessage: string; description: string; id: string; }; required: true; initialValue: string; validator: never[]; options: CountryItem[]; } | { ...; } | { ...; ...' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "LOCATION_SEARCH_INPUT"; required: true; validator: never[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; searchableResource: "facilities"[]; searchableType: ...' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: { name: string; type: "TEL"; label: { defaultMessage: string; id: string; description: string; }; required: true; initialValue: string; validator: never[]; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; onChange: Mock<any[], any>; setAllFieldsDirty: false; draftData: IFormData; fields: { name: string; type: "RADIO_GROUP_WITH_NESTED_FIELDS"; label: { defaultMessage: string; description: string; id: string; }; ... 4 more ...; nestedFields: { ...; }; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "DATE"; required: true; validator: Validation[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "NUMBER"; required: true; validator: never[]; label: { defaultMessage: string; description: string; id: string; }; initialValue: string; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ id: string; setAllFieldsDirty: false; onChange: Mock<any[], any>; draftData: {}; fields: { name: string; type: "SELECT_WITH_OPTIONS"; label: { defaultMessage: string; description: string; id: string; }; required: true; initialValue: string; validator: never[]; options: CountryItem[]; }[]; }' but required in type 'IFormFieldGeneratorProps'.
|
Compile
Property 'draftId' is missing in type '{ key: "LINK_BUTTON" | "QR"; form: IFormSectionData; draft: IFormData; fieldDefinition: Ii18nLinkButtonFormField; fields: IFormField[]; setFieldValue: (name: string, value: IFormFieldValue) => void; isDisabled: false; }' but required in type '{ fields: IFormField[]; form: IFormSectionData; draft: IFormData; draftId: string; fieldDefinition: Ii18nLinkButtonFormField; setFieldValue: (name: string, value: IFormFieldValue) => void; isDisabled?: boolean | undefined; }'.
|
Compile
Expected 6 arguments, but got 5.
|
Compile
Expected 6 arguments, but got 5.
|
Loading