Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add safety check for when the $errors bag variable is undefined #1159

Merged
merged 1 commit into from
Jan 19, 2023

Conversation

dfsmania
Copy link
Collaborator

@dfsmania dfsmania commented Jan 5, 2023

Question Answer
Issue or Enhancement Issue
License MIT

What's in this PR?

Add safety check on the form components to cover the case when the $errors bag variable is undefined, probably because the web middleware was not applied to the route that is rendering the blade view that is using the mentioned components.

Fix #1158

Checklist

  • I tested these changes.
  • I have linked the related issues.

@dfsmania dfsmania merged commit f8af524 into jeroennoten:master Jan 19, 2023
@dfsmania dfsmania deleted the fix_issue_1158 branch January 19, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] x-adminlte-input Undefined variable $errors
1 participant