Skip to content

Dashboard crashes when editing row with modal #2324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 tasks done
sadakchap opened this issue Oct 15, 2022 · 1 comment · Fixed by #2401
Closed
4 tasks done

Dashboard crashes when editing row with modal #2324

sadakchap opened this issue Oct 15, 2022 · 1 comment · Fixed by #2401
Labels
bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@sadakchap
Copy link
Member

New Issue Checklist

Issue Description

Dashboard crashes when entering invalid(mismatch type) value.
https://user-images.githubusercontent.com/44117648/195969907-2357880e-5b56-49e0-b5ec-c6a02ecd52ba.mov

Steps to reproduce

  1. open edit row modal
  2. enter text in Number type field
  3. move the mouse cursor(pointer) out of textarea/input
  4. Dashboard crashes

Actual Outcome

Dashboard crashes on entering invalid value.

Expected Outcome

Either let user enter invalid value and show a message or restrict user to enter invalid values.
Like in Number type field, we should proper Number editor instead of string editor to prevent user from entering invalid value for that field.

Environment

Dashboard

  • Parse Dashboard version: latest-alpha
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Chrome
  • Browser version: 106.0.5249.119 (arm64)

Server

  • Parse Server version: n/a
  • Operating system: n/a
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): n/a

Database

  • System (MongoDB or Postgres): MongoDB
  • Database version: 4.4
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): AWS

Logs

@parse-github-assistant
Copy link

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Oct 15, 2022
@mtrezza mtrezza added the bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) label Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants