queue icon indicating copy to clipboard operation
queue copied to clipboard

Cancelling the creation of a new queue causes a form validation error

Open PradyumnaShome opened this issue 6 years ago • 1 comments

Steps to reproduce Create queue -> Cancel queue

Expected Behavior Modal disappears

Current Behavior

  • Form validation errors - "you must select a course, and enter a name", and then the modal disappears.
  • Address bar has remnants of create queue action - "https://queue.illinois.edu/q/?course=&name=&location="

PradyumnaShome avatar Sep 11 '19 01:09 PradyumnaShome

Good catch! Probably due to type="submit" on the cancel button in components/NewQueue. That blame falls solely on me 😢

nwalters512 avatar Sep 11 '19 02:09 nwalters512