Switch to Cap invisible widget, add form drafts to middleware, and improve OTP
validation Use the Cap client widget in the contact UI with status icons and auto-solve, replacing the capwidget element. Normalize and tighten phone validation by splitting normalizePhone and isValidPhone in the Otp lib and use it in contact action validation. Replace loose text validation with a character-stripper helper. Also bump several dependencies and adjust middleware to save and restore form data for form actions.
This commit is contained in:
parent
f7bdfd3cb8
commit
8e35387841
7 changed files with 261 additions and 222 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue