ErlangFormDocs v1.0.0
Integration guides

Troubleshooting

Diagnose input, validation, nested configuration, and wizard issues.

SymptomWhat to check
Submission does not runWrap ErlForm in an HTML form, preventDefault, and call form.handleSubmit
No validationConnect the schema to useForm validators, not only to ErlForm
Field is missingCheck showIf, wizard fields, and schema support
Email still renders as textUse z.email() rather than checks on a plain z.string()
Select loses its valueThe value is no longer in options; the renderer clears it
Empty number fails validationClearing produces undefined; allow it if appropriate
Empty optional string failsEmpty string differs from undefined; adjust the schema
Callback reads the wrong fieldNested children receive their immediate parent, not always the root
Child settings collideUse scoped configuration and item instead of flat fallback keys
Fields do not share a rowPut root fields in the same section to share a grid
Empty recordInitialize keys; there is no built-in key editor
Server error remainsClear each path explicitly with an empty array
Date shifts by one dayFormat local Date values locally, not by slicing UTC ISO
File is not sentUse FormData rather than JSON
onBlur does not runUse a custom input that forwards handleBlur
Next skips validationProvide wizard.validateStep
Hidden field prevents submitAlign the conditional schema with showIf and clearOnHide

Start with the Quick Start, reduce the schema to one field, and add configuration gradually. Check the support matrix for 1.0.0 limits, then report a bug if needed. Interactive examples are available on each feature page and in the playground.