Closed kannananil closed 2 years ago
@princid could you review this suggestion, if it seems valid please add required labels and I would like to work on this issue. Also would like to get your suggestions on the message as well as which are the required fields
@princid the development for this enhancement is almost done if you could help me with the mandatory fields and default values for non mandatory fields I could commit and raise a PR for this
Well done man! Go ahead and make a pull request.
@princid, I have raised a PR for this issue please review it whenever possible. Thank you :)
Currently if any of the fields of the add/edit transaction form was empty while submitting the form there will be a error message shown in the top as "Something went wrong" as shown below since the backend server sends a 500.
It would be better if we could show a specific error dialog with a proper message which helps the users know which field was invalid without sending a request to the backend server.
Attaching a screenshot of the expected error dialog window