Skip to content

Commit

Permalink
[5.x] Fix helpBlock error with custom js validation rule (#11023)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Varga <[email protected]>
  • Loading branch information
irfandumanx and jasonvarga authored Oct 29, 2024
1 parent f8c6108 commit 7172e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/components/field-validation/Builder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7172e7a

Please sign in to comment.