Bug Report : Handling Edge cases for Add Text Dialog Box
Describe the bug when clicked on 'new text' dialog box is opened , instead of cancel button which has no use , we can add a remove button there , it removes the text . when the new text is empty and if the user clicks save button , it should show the snackbar error that 'text cannot be empty' . but it is getting saved with blank text .
To Reproduce Steps to reproduce the behavior:
- change cancel button to remove button and add functionality to it.
- if text is empty , it should show snackbar of exception.
- if text not empty , it should save directly without any exception.
Expected behavior it should display the snackbar showing the blank text error.
Actual behavior It is getting saved without any edge cases handled.
Kindly assign this issue to me @may-tas
Thank you for opening this issue! 🚀 Our team will review it soon. Please make sure you've included all relevant details and followed our Contributing Guidelines. For questions about our project, check out our README and Code of Conduct.
@pranayshl Thanks for following the template, kindly go through the README.md and Contributing.md before starting your work.
Assigning.