ecatch-kyst / web

IT Bachelor project @ NTNU ⚡🎣
https://ecatch-kyst-beta.firebaseapp.com
GNU General Public License v3.0
5 stars 0 forks source link

✨ Validate inputs in frontend #90

Closed toretefre closed 5 years ago

toretefre commented 5 years ago

Make sure that forms cannot be submitted without mandatory data.

Expected Behavior

As an example, the DEP form should not be sent to the server if departure port is missing, or if no time and date has been selected. Needed on both DEP, DCA and POR. validate all fields.

Priority

Before delivery

Size

1-2?

PetterRein commented 5 years ago

https://github.com/JedWatson/react-select/issues/1453