Billing Address
A real, interactive billing-address form with built-in validation and save states.
Unlike most blocks, this one carries a small real state machine (idle | invalid | server-error | loading) so the form actually works in this preview: try submitting with an incomplete postal code. Copy the source in to wire onSave to your real endpoint.
Why it works this way
Why
- It carries a small real state machine (idle, invalid, server-error, loading) so the form actually works in the preview, including validation of an incomplete postal code.
Don't
- Don't expect it to save anywhere. Wire onSave to your real endpoint.