Variable: Field
Examples / @xmachines/play-react-demo / Field
const Field: ComponentFn<AuthCatalog, "Field">;Defined in: packages/play-react/examples/demo/src/components/Field.tsx:15
Field — labelled input with two-way $bindState binding and declarative validation checks.
Registration happens by rendering: useFieldValidation registers the bound
state path with the ValidationProvider so the validateForm built-in sees
it. The error DISPLAY deliberately reads props.formErrors — the result
object validateForm wrote to state — rather than the local hook, so every
renderer (DOM included) surfaces errors at the same moment: after submit.