@lynxts/core • Docs
@lynxts/core / UseFieldValidation
The result of the useFieldValidation hook.
error:
Optional
<string
>
The error message of the field (if any).
hooks/useFieldValidation.ts:14
required:
boolean
True when the field is marked as required, false otherwise.