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 699dbc8 commit e7abdebCopy full SHA for e7abdeb
packages/vue-components/src/components/OmegaForm/useOmegaForm.ts
@@ -711,7 +711,8 @@ export const useOmegaForm = <
711
try {
712
// Note: Partial schemas don't have .make() method yet (https://github.com/Effect-TS/effect/issues/4222)
713
if ("make" in schema && typeof (schema as any).make === "function") {
714
- return (schema as any).make(defaultValues, { disableValidation: true })
+ const decoded = (schema as any).make(defaultValues, { disableValidation: true })
715
+ return S.encodeSync(schema.pipe(S.partial))(decoded)
716
}
717
} catch (error) {
718
console.warn("Could not extract schema constructor defaults:", error)
0 commit comments