c4450dd8528622acf9bdb84a20fe901e3f5516dc
- PlacedField gains optional defaultValue + fieldMeta carriers. The field-placement submit threads fieldMeta verbatim through the FormData payload (only when populated), where the API route + service + Documenso client already accepted it (v2 field/create-many honours fieldMeta per row). - FieldSidePanel grows a FieldMetaSubPanel that renders per-type controls in the right rail: - TEXT — default text, label, required toggle - NUMBER — format string, min, max, required - CHECKBOX — multi-select option editor with per-option `checked` - RADIO — single-select option editor (mutually-exclusive default) - DROPDOWN — single-select option editor Each writes shallowly into field.fieldMeta so Documenso v2's create-many endpoint receives the shape it expects. SIGNATURE / INITIALS / DATE / EMAIL / NAME render nothing (no per-instance config today). - ChoiceMetaEditor extracted as a top-level component so the option list doesn't recreate its DOM subtree on every keystroke (react-hooks/static-components rule). Verified: tsc clean, 1493/1493 vitest. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
TypeScript
98.7%
HTML
1%
CSS
0.1%
Shell
0.1%