code4romania / code4romania/vic

Unsaved Empty Inputs in Volunteer Profile

Open
#371 0 comments 0 reactions 0 assignees View on GitHub
bug :bug: web-app
Dominant language
TypeScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Description

Changes to optional inputs are not saved in the Volunteer Profile if they are left empty.

### Steps to Reproduce

1. Go to the 'Lista Voluntari' page.
2. Select a volunteer and open their profile.
3. Click the 'Editeaza' button.
4. Clear the inputs for branch, department, and role.
5. Click the 'Salveaza Modificari' button.

### Expected Result

5. The changes should be saved.

### Actual Result
5. No changes are saved; the data remains unchanged.

### Notes

The payload does not include the empty inputs.

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.