code4romania / code4romania/onghub

Save button is not disabled for expenses/income reports in empty state

Open
#626 0 comments 0 reactions 0 assignees View on GitHub
bug :bug:
Dominant language
TypeScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

**Preconditions:**
User must be logged in as "Admin" on "Informatii financiare" tab from "Organizatia mea" page.
The income and expenses reports must have all inputs empty.

**Steps to Reproduce:**
1. Open income/expenses report
2. Press on the "Salveaza" button

**Expected Results:**
2. The save button should be disabled.

**Actual Results:**
2. The save button is not disabled and clicking on it returns statusCode 500 error.

See SS
![error](https://github.com/user-attachments/assets/1d4207a4-51cf-4f45-844d-395237734ac0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.