Files
taxbaik/TaxBaik.Web.Client/Components/Admin
kjh2064 83c1254a3e
TaxBaik CI/CD / build-and-deploy (push) Successful in 2m24s
fix: login button stuck on 준비 중 - Blazor hydration reverted JS enable
AdminLoginForm's submit button had disabled hardcoded as static markup, not
bound to component state. The early inline <script> (before WASM boots)
flipped it via raw DOM mutation, but when the WASM runtime later resumed the
prerendered component, Blazor's own first render re-asserted the static
disabled from the markup - silently undoing the JS fix. The second
bindLoginForm() call from OnAfterRenderAsync then bailed out immediately on
the one-shot "already bound" guard, so nothing ever re-enabled it.

Fix: bind disabled to a real isReady field flipped in OnAfterRenderAsync so
Blazor owns that attribute going forward, and make the JS-side enable
idempotent (runs on every call, not gated behind the bind-once guard) as a
second line of defense.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 10:24:51 +09:00
..