feat: create address input #576
Annotations
10 errors
Compile:
src/form/V2/birth.ts#L15
Module '"@opencrvs/toolkit/events"' has no exported member 'SelectOption'.
|
Compile:
src/form/V2/birth.ts#L320
Type '"BULLET_LIST"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "FILE"'.
|
Compile:
src/form/V2/birth.ts#L387
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "FILE"'.
|
Compile:
src/form/V2/birth.ts#L418
Type '"SELECT"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "FILE"'.
|
Compile:
src/form/V2/birth.ts#L429
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "FILE"'.
|
Compile:
src/form/V2/birth.ts#L437
Type '{ type: string; }' is not assignable to type '{ value: string; label: string; }[]'.
|
Compile:
src/form/V2/birth.ts#L441
Type '"HIDE"' is not assignable to type '"SHOW" | "ENABLE"'.
|
Compile:
src/form/V2/birth.ts#L442
Property 'isUndefinedOrNotInArray' does not exist on type '{ isBeforeNow: () => { type: string; properties: { $form: { type: string; properties: { [x: string]: { type: string; format: string; formatMaximum: { $data: string; }; }; }; required: string[]; }; $now: { type: string; format: string; }; }; required: string[]; }; }'.
|
Compile:
src/form/V2/birth.ts#L448
Type '{ id: string; type: "SELECT"; required: false; label: { defaultMessage: string; description: string; id: string; }; options: SelectOption[]; }' is not assignable to type '{ id: string; type: "TEXT"; label: { id: string; defaultMessage: string; description: string; }; options?: { maxLength?: number | undefined; } | undefined; validation?: { message: { id: string; defaultMessage: string; description: string; }; validator: any; }[] | undefined; ... 6 more ...; placeholder?: { ...; } | u...'.
|
Compile:
src/form/V2/birth.ts#L453
Property 'isUndefinedOrNotInArray' does not exist on type '{ isBeforeNow: () => { type: string; properties: { $form: { type: string; properties: { [x: string]: { type: string; format: string; formatMaximum: { $data: string; }; }; }; required: string[]; }; $now: { type: string; format: string; }; }; required: string[]; }; }'.
|
Loading