From 4fe8087b16c1fc54f21b9281d587c2b9301d7510 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 1 Sep 2026 03:56:54 +0000 Subject: [PATCH] fix(examples): correct f_address seed key to postalCode The showcase field-zoo specimen seeded `postal_code`, a key AddressSchema does not declare (it declares camelCase `postalCode`). The value was silently accepted with the postal code stripped by zod's default unrecognized-key handling, and the objectui field renderer's ZIP box rendered empty since it reads addr.postalCode. Fixes #13388 _Generated by [Claude Code](https://claude.ai/code)_ --- examples/app-showcase/src/data/seed/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/app-showcase/src/data/seed/index.ts b/examples/app-showcase/src/data/seed/index.ts index 2894405d17..3a24a64218 100644 --- a/examples/app-showcase/src/data/seed/index.ts +++ b/examples/app-showcase/src/data/seed/index.ts @@ -336,7 +336,7 @@ const fieldZoo = defineSeed(FieldZoo, { f_boolean: true, f_toggle: true, f_select: 'high', f_multiselect: ['red', 'green'], f_radio: 'yes', f_checkboxes: ['email', 'push'], f_tags: ['alpha', 'beta'], f_lookup: 'Northwind', f_lookups: ['Northwind', 'Contoso'], f_master_detail: 'Website Relaunch', - f_location: { lat: 47.6062, lng: -122.3321 }, f_address: { street: '1 Main St', city: 'Seattle', state: 'WA', postal_code: '98101', country: 'US' }, + f_location: { lat: 47.6062, lng: -122.3321 }, f_address: { street: '1 Main St', city: 'Seattle', state: 'WA', postalCode: '98101', country: 'US' }, f_code: '{\n "ok": true\n}', f_json: { nested: { k: 'v' }, list: [1, 2, 3] }, f_color: '#2563EB', f_rating: 4, f_slider: 60, f_progress: 80, f_composite: { width: 10, height: 20 }, f_repeater: [{ label: 'one', qty: 1 }, { label: 'two', qty: 2 }],