Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
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
- open edit row modal
- enter text in Number type field
- move the mouse cursor(pointer) out of textarea/input
- 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