You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When submitting a form using Livewire, Aire does not apply error classes and does not show error messages within the associated input's group. It only shows the {{ Aire::summary() }}
Have you published the Aire config file?
Yes
Have you added custom Aire views?
No
What version does this affect?
Laravel Version: 8.12
Aire Version: 2.4
To Reproduce
Steps to reproduce the behavior:
Create a Livewire component and add validation rules to the component class and a save() method
Add a form to the component view and add to the form setAttribute('wire:submit.prevent', 'save')
Add an input field with setAttribute('wire:model.defer', 'title')
Submit the form without a value in the field
Expected behavior
Expecting an error class in the input group and an error message.
Additional context
When I remove the setAttribute('wire:submit.prevent', 'save') from the form, and handle the request in my Controller, the error class and message work fine.
The text was updated successfully, but these errors were encountered:
Describe the bug
When submitting a form using Livewire, Aire does not apply error classes and does not show error messages within the associated input's group. It only shows the
{{ Aire::summary() }}
Have you published the Aire config file?
Yes
Have you added custom Aire views?
No
What version does this affect?
To Reproduce
Steps to reproduce the behavior:
save()
methodsetAttribute('wire:submit.prevent', 'save')
setAttribute('wire:model.defer', 'title')
Expected behavior
Expecting an error class in the input group and an error message.
Additional context
When I remove the
setAttribute('wire:submit.prevent', 'save')
from the form, and handle the request in my Controller, the error class and message work fine.The text was updated successfully, but these errors were encountered: