🐛 [open-formulieren/open-forms#4772] Set select dataType to string #875
Annotations
2 errors
Build library:
src/registry/select/edit.tsx#L180
Type '{ label: string; key: string; description: string; tooltip: string; showInSummary: true; showInEmail: false; showInPDF: true; hidden: false; clearOnHide: true; isSensitiveData: false; openForms: { dataSrc: "manual"; translations: {}; }; dataSrc: "values"; dataType: string; data: { values: { value: string; label: string; }[]; }; defaultValue: string; conditional: { show: undefined; when: string; eq: string; }; validate: { required: false; plugins: never[]; }; translatedErrors: {}; registration: { attribute: string; }; }' is not assignable to type 'Omit<{ defaultValue?: string | undefined; } & Omit<SelectManualValuesSchema, "openForms"> & Required<Pick<SelectManualValuesSchema, "openForms">> & Single<string>, "type" | "id"> | Omit<{ defaultValue?: string[] | undefined; } & Omit<SelectManualValuesSchema, "openForms"> & Required<Pick<SelectManualValuesSchema, "openForms">> & Multiple<string>, "type" | "id"> | Omit<{ defaultValue?: string | undefined; } & Omit<SelectVariableValuesSchema, "openForms"> & Required<Pick<SelectVariableValuesSchema, "openForms">> & Single<string>, "type" | "id"> | Omit<{ defaultValue?: string[] | undefined; } & Omit<SelectVariableValuesSchema, "openForms"> & Required<Pick<SelectVariableValuesSchema, "openForms">> & Multiple<string>, "type" | "id">'.
|
Build library
Process completed with exit code 1.
|
Loading