From 3e9386e8aae36ac3d7096bb253100e05949c5d94 Mon Sep 17 00:00:00 2001 From: 230417 <230417@epvc.pt> Date: Mon, 4 May 2026 10:31:55 +0100 Subject: [PATCH] feat: add explicit continue button to date selection step and remove auto-advancement --- web/src/pages/Booking.tsx | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/web/src/pages/Booking.tsx b/web/src/pages/Booking.tsx index 436b64c..6f3015d 100644 --- a/web/src/pages/Booking.tsx +++ b/web/src/pages/Booking.tsx @@ -272,7 +272,7 @@ export default function Booking() {

3. Escolha a Data

-
+
@@ -281,14 +281,20 @@ export default function Booking() { { - setDate(e.target.value); - if (e.target.value) setStep(4); - }} + onChange={(e) => setDate(e.target.value)} min={new Date().toISOString().split('T')[0]} className="absolute inset-0 w-full h-full opacity-0 cursor-pointer m-0 p-0" />
+ + {date && ( + + )}
)}