How to set available dates in a input type date

The first thing You could do is ensure at the database level that there will be no overlapping appointments…

Then You would be sure to catch the error when the user try to validate the appointment.

Then You would need to find a way to signal clients when appointments have changed. But You are on the BEAM and You have pubsub.

When your core logic is ready, it would be time to implement UI

1 Like