You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After #19670 & #19680 - this is the last vue-tsc error in FormElement.vue. It doesn't look super hard to solve but my first attempt failed and I ripped it out of #19680.
src/components/Form/FormElement.vue:316:18 - error TS2322: Type '"upload" | "text" | "data" | "select" | "tags" | "color" | "hidden" | "password" | "data_collection" | "rules" | "hidden_data" | "baseurl" | "radio" | "directory_uri" | "data_column" | ... 4 more ... | undefined' is not assignable to type '"data" | "data_collection" | undefined'.
Type '"upload"' is not assignable to type '"data" | "data_collection" | undefined'.
316 :type="props.type"
~~~~
src/components/Form/Elements/FormData/FormData.vue:53:9
53 type?: "data" | "data_collection";
~~~~
The expected type comes from property 'type' which is declared here on type 'Readonly<Partial<{ type: "data" | "data_collection"; value: { values: DataOption[]; }; tag: string; loading: boolean; multiple: boolean; optional: boolean; extensions: string[]; collectionTypes: string[]; flavor: string; }> & Omit<...>> & Record<...>'
The text was updated successfully, but these errors were encountered:
After #19670 & #19680 - this is the last vue-tsc error in FormElement.vue. It doesn't look super hard to solve but my first attempt failed and I ripped it out of #19680.
The text was updated successfully, but these errors were encountered: