Skip to content

Lacking input validation for packing list item #6

Description

@ana-rosu

if (text === '') return;

Steps to reproduce the issue:

  1. Go to packing list.
  2. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions