avniproject/avni-webapp

When a report card with already existing name created show proper error message

Opened this issue · 3 comments

Issue:

Create a report card with same name as non-voided existing report card. The below issue happens.
Image

AC:

Show error message stating 'Report card with same name already exists' in the place where 'Name cannot be empty' is shown in the image below (or) when handling all these issues at server side is easier, then we can just show a common toast error message at the bottom if that will simplify the work across if in any new entities we face this issue.

Screenshot 2024-08-06 at 1 18 15 PM

Hey @mahalakshme. Could you please assign me the issue.

@Bhushan-Thombre sure you can work on it

@mahalakshme Kindly review the below PR.
#1301