TextEditingApp icon indicating copy to clipboard operation
TextEditingApp copied to clipboard

Bug Report : Handling Edge cases for Add Text Dialog Box

Open pranayshl opened this issue 1 year ago • 2 comments

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:

  1. change cancel button to remove button and add functionality to it.
  2. if text is empty , it should show snackbar of exception.
  3. 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

pranayshl avatar Jul 23 '25 17:07 pranayshl

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.

github-actions[bot] avatar Jul 23 '25 17:07 github-actions[bot]

@pranayshl Thanks for following the template, kindly go through the README.md and Contributing.md before starting your work.

Assigning.

may-tas avatar Jul 23 '25 17:07 may-tas