Skip to content

Commit 2fcb1c6

Browse files
committed
once more, with feeling
1 parent 38b3ee1 commit 2fcb1c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export function evaluate(
122122
if (evalContextFn) {
123123
evalContextFn(normalizedContext);
124124
}
125-
if (form?.module?.options?.form?.evalContext) {
126-
options = { ...options, formModule: form.module.options.form.evalContext };
125+
if (form?.module) {
126+
options = { ...options, formModule: form.module };
127127
}
128128
if (instance && instance.evaluate) {
129129
return instance.evaluate(evaluation, normalizedContext, ret, interpolate, options);

0 commit comments

Comments
 (0)