Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix #75 validation errors and livewire #91

Closed
wants to merge 1 commit into from

Conversation

dubcanada
Copy link

Use the shared view to get validation errors from livewire and session store.

This fixes #75 about not being able to get validation errors while using livewire.

Use the shared view to get validation errors from livewire and session store.
@inxilpro
Copy link
Contributor

The shared "errors" on the view come from the ShareErrorsFromSession middleware which picks them up from the session, so I'm not sure how this solves the underlying problem. Is Livewire messing with the shared errors in some way?

@inxilpro inxilpro closed this Sep 26, 2022
@chiiya
Copy link

chiiya commented Jun 7, 2023

Why was this never merged? To answer your question: yes, Livewire does "mess" with the shared errors, see https://github.com/livewire/livewire/blob/master/src/Component.php#L232

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No error class & message appear when submitting using Livewire
3 participants