diff --git a/resources/js/components/field-validation/Builder.vue b/resources/js/components/field-validation/Builder.vue index 278b1100f2..f00632164f 100644 --- a/resources/js/components/field-validation/Builder.vue +++ b/resources/js/components/field-validation/Builder.vue @@ -176,7 +176,7 @@ export default { return false; } - let rule = _.chain(RULES) + let rule = _.chain(this.allRules) .filter(rule => rule.value === this.selectedLaravelRule) .first() .value();