ECLK / Nomination-UI

Nomination system UI implementation
5 stars 20 forks source link

Error messages #192

Open YujithIsura opened 4 years ago

YujithIsura commented 4 years ago

In the current system call election module doesn't show any error message to the user in the event of unsuccessful form submission

To Reproduce Steps to reproduce the behavior:

  1. Click on Call election tab on side navigation bar
  2. Select election template from Call election card and give election name eg: Presidential 2019
  3. Click on next button
  4. Complete timeline section and click next
  5. Complete select electorate and click finish
  6. Click the submit for approval button on next step
  7. You can see the snack bar for success message

Expected behavior even though we have success message. currently there in no message showing in the event of unsuccessful form submission so we need to show informative error messages in the event of unsuccessful form submission as well

Additional context we will have to do the same changes for the update call election as well