parse-community / parse-dashboard

A dashboard for managing Parse Server
https://parseplatform.org
Other
3.75k stars 1.39k forks source link

Cloud Config date converts to object #2566

Open mtrezza opened 6 months ago

mtrezza commented 6 months ago

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

  1. Add Cloud Config param of type "Date".

  2. Set a date value:

    image
  3. Create param; date value is stored as 2024-05-05T00:36:00.000Z:

    image
  4. Refresh browser page; date value is stored as {"__type":"Date","iso":"2024-05-05T00:36:00.000Z"}:

    image

    The date value is displayed as a date object, which should not happen.

  5. Edit the param; the date object value appear, can be edited and saved.

    image

    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

parse-github-assistant[bot] commented 6 months ago

Thanks for opening this issue!