How can I detect if the text input entered by the user is empty or contain some text?
I am currently making a TO-DO app and I want that if a user does not type anything in the text area and click add, the app should not take any input and display a message like Enter Valid Items
or similar.
Any help will be appreciated :)