diff --git a/Claude.md b/Claude.md index ecef094..9750026 100644 --- a/Claude.md +++ b/Claude.md @@ -1265,6 +1265,12 @@ it (the workers share no pub/sub). | `routes/qr_codes.py` | `CHECKIN_EMPLOYEE_ID_MAX_DIGITS`; `qr_checkin` rejects a base ID over 4 digits (HTTP 400, bilingual); `qr_last_work_type` returns no suggestion for longer IDs | | — | "Up to 4 digits" chosen over "exactly 4": 1–3 digit IDs still check in. Supersedes the earlier "no `maxlength` cap" note in §11 | +### Set 22 — Employee ID Placeholder Stuck on "Checking location services..." (Sept 15, 2026) +| File | Fix | +|---|---| +| `static/js/qr_destination.js` | `disableFormImmediately()` replaced the Employee ID placeholder with "Checking location services..." and nothing restored it after location services were confirmed. The override is removed — the submit button already shows the checking state | +| `templates/qr_destination.html` | Placeholder is now "Enter your employee ID / Ingrese su ID de empleado" | + --- ## 21. Infrastructure & Deployment diff --git a/static/js/qr_destination.js b/static/js/qr_destination.js index 592043b..d631153 100644 --- a/static/js/qr_destination.js +++ b/static/js/qr_destination.js @@ -196,7 +196,9 @@ function disableFormImmediately() { employeeIdInput.disabled = true; employeeIdInput.style.opacity = "0.7"; employeeIdInput.setAttribute("data-location-blocked", "true"); - employeeIdInput.placeholder = "Checking location services..."; + // The placeholder is deliberately left alone: it was never restored once + // location services were confirmed, so the empty field kept saying + // "Checking location services...". The submit button shows that state. } if (form) { diff --git a/templates/qr_destination.html b/templates/qr_destination.html index ce8c79a..5d3f004 100644 --- a/templates/qr_destination.html +++ b/templates/qr_destination.html @@ -1198,7 +1198,7 @@ id="employee_id" name="employee_id" class="form-control" - placeholder="Enter your ID / Ingrese su ID" + placeholder="Enter your employee ID / Ingrese su ID de empleado" required autocomplete="off" inputmode="numeric"