Errors show on the Stock Adjustments screen when they shouldn't

Description

I noticed an issue during regression tests - errors on the "Adjustments" screen show up immediately after tabbing to or clicking on another element in the same row. According to the OLMIS-2914, it shouldn't be the case. The issue occurs on both browsers.

Reproduction steps:

  1. Log into the application as administrator.

  2. Go to Stock Management > Adjustments.

  3. Start making adjustments for Family Planning.

  4. Add Levora and no lot defined to the table.

  5. Click the "Reason" select, tab to/click on the "Quantity" field and click on/tab to the "Date" field.

  6. Errors show in the "Quantity" field and in the pagination after going to the "Date" field, which shouldn't happen.

Expected behavior:

  • The error in the "Quantity" field should appear only after clicking outside it or after trying to submit the form;

  • The error in the pagination should appear only after trying to submit the form.

Environment

None

Assignee

Unassigned

Reporter

Joanna Bebak

Labels

Epic Link

Components

Priority

Minor
Configure