Internal
decodeOptional
descriptionThe description associated with the field
Internal
encodeThe initial output for this field. By default, a reasonable default value is given.
TODO: explain initialOutput
Get the initial output.
Optional
labelThe label associated with the field.
Internal
safeOptional
passthrough: boolean
Metadata associated with the Zod type definition. You can extend the interface to add whatever information you need. Notice for
label
,description
,mobx-zod-form
itself doesn't use them, but you may build your UI based on them.