ChildMindInstitute / mindlogger-admin-OLD-Vue

Browser-based interface for administering the MindLogger platform
https://admin-prod.mindlogger.org
Other
4 stars 4 forks source link

The negative value is accepted in the "Idle time" field on the event details modal window #322

Open sergeysemenuta opened 4 years ago

sergeysemenuta commented 4 years ago

Steps to reproduce:

  1. Log in to the admin panel https://admin-staging.mindlogger.org/ (leo@stage.com)
  2. Select the NIMH applet and navigate to the general calendar
  3. Choose any event and navigate to the event details modal window 4 Mark the "Idle time" checkbox
  4. Specify " -1" into the "Idle time" field and save
  5. Look at the result

Actual result: The negative value is accepted in the "Idle time" field on the event details modal window Video: https://www.screencast.com/t/7LafieQaA Expected result: The negative value is not accepted in the "Idle time" field on the event details modal window

Environment: https://admin-staging.mindlogger.org/ Win 10 //Chrome Version 85.0.4183.83

natalia-muzyka commented 2 years ago

Reproducible on the new design. It is possible to save the event with invalid idle time, after an attempt to save the schedule there is an inappropriate error. Expected: There shouldn't be an ability even to enter invalid values in the Idle time field.

Video: https://www.screencast.com/t/CFAESn1G

https://admin-staging.mindlogger.org/ Win 10 // Chrome 100.0.4896.127