RyanRussell00 / personal-dj

Personal DJ site that creates playlists given custom inputs. View it live at: http://personaldj.net/
http://personaldj.net/
MIT License
26 stars 12 forks source link

Validate input fields to their min/max numbers #51

Closed RyanRussell00 closed 3 years ago

RyanRussell00 commented 3 years ago

Most of the input fields for the playlist parameters (step 2) are not required. However, if they are not empty, they should enforce a min and max policy. Right now, you can put whatever number you want into any of the fields (except for the number of songs) and it will accept that value. No errors are thrown or anything, but the values less than 0 or greater than the max should let the user know through an error message on the form.

RyanRussell00 commented 3 years ago

Closed in https://github.com/RyanRussell00/personal-dj/pull/52