Skip to content

Commit d75029a

Browse files
authored
fixed unnecessary recursive loop, which leads to poor performance (#7)
1 parent 0c811f8 commit d75029a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

dist/js/field.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/js/components/FormField.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ export default {
6969
// @todo: replace with `updateDependencyStatus(initial_value)` and let it resolve dependency state
7070
this.dependencyValues[component.field.attribute] = initial_value;
7171
}
72-
73-
this.registerDependencyWatchers(component)
7472
});
7573
7674
if (callback !== null) {
@@ -164,7 +162,6 @@ export default {
164162
})
165163
}
166164
}
167-
168165
}
169166
}
170167
</script>

0 commit comments

Comments
 (0)