Skip to content

Commit 1aefe5e

Browse files
committed
chore: compute js function on change by default
Related to #1102
1 parent 7d43c96 commit 1aefe5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form-js-viewer/src/render/components/form-fields/JSFunctionField.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ JSFunctionField.config = {
154154
create: (options = {}) => ({
155155
jsFunction: 'setValue(data.value)',
156156
functionParameters: '={\n value: 42\n}',
157-
computeOn: 'load',
157+
computeOn: 'change',
158158
interval: 1000,
159159
...options,
160160
})

0 commit comments

Comments
 (0)