Have clear error messages in tooltip #6598
Comments
Thank you for reporting this issue. |
Thanks for suggesting, will try to take this up |
@cpandit201 @lauriejim we could easily display the errors in the content type builder by doing the following:
|
Started this in #7737 basing on your comment! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
While saving a new collection type, I faced an error. Let the user know about the error description in the tooltip provided
Steps to reproduce the behavior
As a dev, I thought it was an issue with my mongo atlas cluster, When checked the network logs, the concise error message indicating the root cause but was not shown in the tooltip
{"error":{"contentType.attributes.productId.maxLength":["contentType.attributes.productId.maxLength must be less than or equal to 256"]}}
Expected behavior
Let the user know in the tooltip mentioned about the error description rather than just letting user see a message "An error occoured"
Screenshots

System
The text was updated successfully, but these errors were encountered: