GlobalEditView
GlobalEditView(
props):Element
Defined in: packages/react/src/components/views/GlobalEditView.tsx:24
Global document edit form.
Fetches the current value via vexConvexApi.globals.get (TanStack Query +
Convex subscription), initialises a useGlobalForm instance with the
current field values, and renders an <AppForm> with one input component
per field. Submits via vexConvexApi.globals.upsert.
Parameters
Section titled “Parameters”View props.
Returns
Section titled “Returns”Element
The edit form, or a not-found message when global is falsy.