-
-
Notifications
You must be signed in to change notification settings - Fork 805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 [Bug report]: Empty Note error #600
Labels
Comments
Can I take this? |
Assigned to you |
yes , thanks |
Hey, can I work on this too? |
Hey @Angryman18, I've made a pull request fixing the bug. Could you please review that? |
5 tasks
atapas
added a commit
that referenced
this issue
Oct 13, 2022
* Disable button for empty notes * Fix Create Button, Use Trim to check null string * Move length expressions into variables * Simplify disabled button Co-authored-by: Shyam Mahanta <[email protected]> Co-authored-by: Tapas Adhikary <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The user has the ability to make blank notes. If the
Note Title
andNote Content
are both blank, no user should be able to create an empty note.To Reproduce
Steps to reproduce the behavior:
+
button keeping bothNote Title
andNote Content
empty.Expected behavior
Users shouldn't be able to create any empty notes and should instead receive some sort of popup notification asking them to "Please provide some valid data."
Screenshots
![Screenshot 2022-10-04 at 12 31 50 AM](https://user-images.githubusercontent.com/55223302/193659579-1dec7b93-9c10-4679-9973-699b5c3d212e.JPG)
Desktop (please complete the following information):
Smartphone (please complete the following information):
I will be more than happy to fix it. Let me know if this makes sense.
The text was updated successfully, but these errors were encountered: