Open henrylin03 opened 1 month ago
because we are using a Mantine UI library component (MonthPicker
), checking if it has been filled out is proving difficult. Instead of the event.currentTarget
or event.Target
of the component being the value that has been picked, it is the event
(null
if blank) OR the text that is on the button component (which wouldn't be null
but our placeholder text).
a potential workaround might be to switch every field as Mantine fields, and use Mantine's own useForm
hooks, but I feel this is cheating by using a library...
this makes #14 easier