BUG #4328
open0%
Description
Issue Description
In the Agency Profile → Portfolio modal, when the “Currently Working” checkbox in the Project Duration field is selected, validation messages incorrectly appear under the Start Month and Start Year fields displaying:
"Invalid input: expected string, received undefined".
This behavior is inconsistent with expected functionality, as selecting “Currently Working” should not require a start date and should not trigger validation errors.
Module / Page
Agency Profile → Portfolio
Module Section
Portfolio Modal / Project Duration Field
Screen Size
Desktop
Sprint / Module
Sprint-5 (Partial - Auth & Profile Setup Module)
Tested By
Tasfia Zaima
Steps to Reproduce¶
- Navigate to Agency Profile → Portfolio section.
- Open the Add/Edit Project modal.
- Go to the Project Duration field.
- Click the “Currently Working” checkbox.
- Observe the validation messages under Start Month and Start Year.
Expected Result
Selecting the “Currently Working” checkbox should not trigger validation errors for the Start Month and Start Year fields.
Actual Result
Validation messages appear under Start Month and Start Year, displaying:
"Invalid input: expected string, received undefined".
Attachments
PoC
Types of Issue
Functional Issue, Validation Issue
Root Cause:
Impacted Area: