beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

Policy Portal - Dates Showing as NaN/NaN When API Fails in Policy Portal #2127

Open omkar-em opened 3 weeks ago

omkar-em commented 3 weeks ago

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

Image

aniketceminds commented 3 weeks ago

Image

omkar-em commented 3 weeks ago

Working fine cc- @emmayank @PritiEM