Steps to reproduce the issue:
- Go to packing list.
- When adding a new item, input a string consisting only of whitespace characters and hit Enter.
Observed behavior:
The application successfully added the item despite containing only whitespace characters.
Expected behavior:
The application should prevent the addition of a new item if it contains only whitespace characters. A validation error or warning message should be displayed to indicate that the input is invalid.
Proiect-MDS/src/app/(tabs)/PackingList/_layout.tsx
Line 20 in 639721c
Steps to reproduce the issue:
Observed behavior:
The application successfully added the item despite containing only whitespace characters.
Expected behavior:
The application should prevent the addition of a new item if it contains only whitespace characters. A validation error or warning message should be displayed to indicate that the input is invalid.