In the Policy Portal app, when the API fails, date fields incorrectly display as NaN/NaN
Steps to Reproduce:
Navigate to the Policy Portal app.
Trigger an API failure (e.g., network error or server unavailability).
Observe that the date fields display NaN/NaN instead of a valid date or an appropriate error message.
Actual Result:
Date fields show NaN/NaN when the API fails.
Expected Result:
The app should handle API failures properly, either by displaying an appropriate error message or leaving the date fields blank without showing NaN/NaN.
Description:
In the Policy Portal app, when the API fails, date fields incorrectly display as NaN/NaN
Steps to Reproduce:
Navigate to the Policy Portal app. Trigger an API failure (e.g., network error or server unavailability). Observe that the date fields display NaN/NaN instead of a valid date or an appropriate error message.
Actual Result:
Date fields show NaN/NaN when the API fails.
Expected Result:
The app should handle API failures properly, either by displaying an appropriate error message or leaving the date fields blank without showing NaN/NaN.
Priority:
Medium
Figma
NA
Environment
Dev
Screenshots/Logs