-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Validations not showed when attaching fails #2883
Comments
I think it's a bug and Avo swallows that error. |
Please try it tomorrow with Avo 3.10 to see if this is fixed. |
This PR should have fixed that Closing for now to keep the issue queue clean. Please re-open if this persists after tomorrow. |
Just tested it in 3.10.5 and still the same case – no validation error, no message (actually now it reloads the whole page, not just the table as before if I remember correctly). |
hmmm. we'll need a reproduction repo. |
@adrianthedev hopefully I managed to do it here. (Just try to attach a team to a user.) |
Ok. Thanks! We'll have a look. |
Describe the bug
When attaching an association using
:through
, Avo doesn't show validation errors, only reloads the associations table.Steps to Reproduce
Have field like this:
Validation in the model:
Try to attach the record and it doesn't show the validation error.
Expected behavior & Actual behavior
Validation error is shown.
System configuration
Avo version:
3.9.1
Rails version:
7.0.8.1
Ruby version:
3.2.3
License type:
Are you using Avo monkey patches, overriding views or view components?
Impact
Urgency
The text was updated successfully, but these errors were encountered: