Cloud Config date converts to object #2566
Labels
bounty:$20
Bounty applies for fixing this issue (Parse Bounty Program)
type:bug
Impaired feature or lacking behavior that is likely assumed
New Issue Checklist
Issue Description
When adding a Cloud Config param of type "Date", then refreshing the dashboard page, the date object is displayed incorrectly as an object.
Steps to reproduce
Add Cloud Config param of type "Date".
Set a date value:
Create param; date value is stored as
2024-05-05T00:36:00.000Z
:Refresh browser page; date value is stored as
{"__type":"Date","iso":"2024-05-05T00:36:00.000Z"}
:The date value is displayed as a date object, which should not happen.
Edit the param; the date object value appear, can be edited and saved.
If pasting the previous value string
2024-05-05T00:36:00.000Z
, the save button is disabled, because this string cannot be saved directly despite being displayed in step 3.Analysis
Environment
Dashboard
6.0.0-alpha.6
Safari
Version 17.4.1 (19618.1.15.11.14)
The text was updated successfully, but these errors were encountered: