Time input should have two digit fields followed by : and another two digit fields to fit the schema:
If return or departure time is empty it should pass * to the empty time which means doesn't stop here
If both are empty don't add station
P.S.
NextUI has a time input component
https://nextui.org/docs/components/time-input
Time input should have two digit fields followed by : and another two digit fields to fit the schema:
If return or departure time is empty it should pass * to the empty time which means doesn't stop here
If both are empty don't add station
P.S.
NextUI has a time input component
https://nextui.org/docs/components/time-input