Skip to content

Date Picker in create record broken #6065

Closed

Description

@obrunsmann

Bug report

Describe the bug

When entering a date in the date picker manually via keyboard, the date gets cleared immediately when trying to add minutes to the time. The moment the date was cleared was when entering "3" key on the keyboard for the 30 mins...

To Reproduce

Please refer to the video.

Screenshots

Supabase.Bug.mov

System information

  • OS: macOS
  • Browser (if applies) chrome

Activity

  1. added
    bug
    on Mar 25, 2022
  2. Lexora commented on Mar 26, 2022

    @Lexora

    ze video did not uplods

  3. added
    help wanted
    frontend
    on Mar 27, 2022
  4. obrunsmann commented on Mar 27, 2022

    @obrunsmann
    Author
  5. Lexora commented on Apr 17, 2022

    @Lexora

    thanks @obrunsmann -- so I reproduced in local dev-env on my ubuntu and pretty sure the issue is here -> studio/components/interfaces/TableGridEditor/SidePanelEditor/RowEditor/DateTimeInput/DateTimeInput.tsx
    now I gotta go and learn some react stuff if I'm to try and fix this :P

  6. saltcod commented on May 3, 2022

    @saltcod
    Contributor

    Hey all — wondering if this is still an issue. I just tested this locally and was able to successfully enter a date. Hopefully the video will upload!

    CleanShot.2022-05-03.at.17.16.39.mp4
  7. CactusPuppy commented on May 6, 2022

    @CactusPuppy

    I am having a similar, if not identical, issue in Firefox 100.0 on Windows 11.
    firefox_4A44nOzBw7

  8. MildTomato commented on May 11, 2022

    @MildTomato
    Member

    We're seeing a lot of issues with this date input across a lot of different browsers.

    We're starting to lean towards just adding in our custom date picker for this so that we have a consistent experience for everyone and to eliminate all the quirks of <input type="datetime>, <input type="datetime-local">, <input type="date"> which don't play nice with postgres formatting of dates (timestamp, timestampz and so on).

  9. joshenlim commented on May 12, 2022

    @joshenlim
    Member

    hey all! this should now be fixed by #6766

    re: customer date picker we'll look into this separately!

    will close this ticket but feel free to open if the issue still persists! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugfrontendhelp wantedp4

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions